<!--
{
  "availability" : [
    "iOS: 3.0.0 - 9.0.0",
    "iPadOS: 3.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.9.0 - 10.11.0"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKPinAnnotationView/pinColor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKPinAnnotationView(py)pinColor"
  },
  "title" : "pinColor"
}
-->

# pinColor

The color of the pin head.

```
var pinColor: MKPinAnnotationColor { get set }
```

## Discussion

The Maps application uses different pin colors for different types of map annotations. Your own map annotation should use the available pin colors in the same way. For a description of when to use each type of pin, see the constants of [`MKPinAnnotationColor`](/documentation/MapKit/MKPinAnnotationColor).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)