SwiftUI Color.pink

.pink
Highlights, Lifestyle & Health
Adaptive System Token•iOS 13.0+, macOS 10.15+, tvOS 13.0+, watchOS 6.0+, visionOS 1.0+

Complete technical specification and developer reference for Pink in Apple's SwiftUI design system. In light appearance, it resolves to HEX #FF2D55; in dark appearance, it dynamically adapts to HEX #FF375F. Features wide-gamut Display P3 values, UIKit bridge (UIColor.systemPink), AppKit bridge (NSColor.systemPink), WCAG contrast audit, and Xcode drop-in initializers.

Light Mode#FF2D55
Dark Mode#FF375F
Pink Color Preview

SwiftUI's adaptable pink.

Color.pink
Copy:
Dynamic Asset
Highlights, Lifestyle & Health
iOS 13.0+, macOS 10.15+, tvOS 13.0+, watchOS 6.0+, visionOS 1.0+
Initializers & Color Spaces
Color(r:g:b:)Color(red: 1.000, green: 0.176, blue: 0.333)
Color(r:g:b:op:)Color(red: 1.000, green: 0.176, blue: 0.333, opacity: 1.00)
Color(hue:sat:bri:)HSBColor(hue: 0.968, saturation: 0.824, brightness: 1.000, opacity: 1.00)
Color(.displayP3)Wide GamutColor(.displayP3, red: 0.922, green: 0.267, blue: 0.353, opacity: 1.00)
Color(.sRGB)Color(.sRGB, red: 1.000, green: 0.176, blue: 0.333, opacity: 1.00)
Color(hex:)ExtensionColor(hex: "#FF2D55")
#colorLiteralXcode#colorLiteral(red: 1.000, green: 0.176, blue: 0.333, alpha: 1.00)
Color(uiColor:)iOSColor(uiColor: UIColor(red: 1.000, green: 0.176, blue: 0.333, alpha: 1.00))
Active HEX: #FF2D55P3 R: 0.922 G: 0.267 B: 0.353

Technical Color Specifications

Exact resolved HEX codes, sRGB 8-bit components, HSL, and normalized Swift floating-point decimals for Light and Dark modes.

Color Metric / SpaceLight AppearanceDark AppearanceSwift Code Literal
HEX Code#FF2D55#FF375FColor(hex: "#FF2D55")
sRGB (0–255)rgb(255, 45, 85)rgb(255, 55, 95)(r: 1.000, g: 0.176, b: 0.333)
Display P3 (Wide Gamut)P3 (0.922, 0.267, 0.353)P3 (0.922, 0.294, 0.388)Color(.displayP3, ...)
HSL / HSBhsl(349, 100%, 59%)hsl(348, 100%, 61%)Color(hue:sat:bri:)
Platform BridgeUIKit: UIColor.systemPinkAppKit: NSColor.systemPinkColor(uiColor:) / Color(nsColor:)

Light Appearance

Light Theme
HEX Code
#FF2D55
RGB (0–255)
rgb(255, 45, 85)
HSL
hsl(349, 100%, 59%)
Normalized Swift Literal:
(r: 1.000, g: 0.176, b: 0.333)

Dark Appearance

Dark Theme
HEX Code
#FF375F
RGB (0–255)
rgb(255, 55, 95)
HSL
hsl(348, 100%, 61%)
Normalized Swift Literal:
(r: 1.000, g: 0.216, b: 0.373)

Drop-In Developer Snippets

Ready-to-paste code blocks for Xcode asset catalogs and Swift files.

Xcode Location: Save as Contents.json inside Assets.xcassets/Pink.colorset/
Includes Light + Dark Modes
Contents.json
{
  "colors": [
    {
      "color": {
        "color-space": "srgb",
        "components": {
          "red": "1.000",
          "green": "0.176",
          "blue": "0.333",
          "alpha": "1.000"
        }
      },
      "idiom": "universal"
    },
    {
      "appearances": [
        {
          "appearance": "luminosity",
          "value": "dark"
        }
      ],
      "color": {
        "color-space": "srgb",
        "components": {
          "red": "1.000",
          "green": "0.216",
          "blue": "0.373",
          "alpha": "1.000"
        }
      },
      "idiom": "universal"
    }
  ],
  "info": {
    "author": "xcode",
    "version": 1
  }
}

Live UI Component Sandbox

Preview Color.pink inside standard Apple interface components.

Interactive Controls
Active TagBadge 99+
Toggle Tint
Container & Typography Styling

●SwiftUI Notification

Just now

Demonstrates how Apple designers pair system background tints with dynamic Pink accents.

Dynamic Headline in Pink

.foregroundStyle(.pink)

Platform Implementation Snippets

Ready-to-use Swift code for SwiftUI, UIKit, and AppKit applications.

SwiftUI (Swift 5.9+)
// Standard SwiftUI Usage
Text("Hello, Apple")
    .foregroundStyle(Color.pink)

// Background & Shape Fill
RoundedRectangle(cornerRadius: 16)
    .fill(Color.pink)
    .frame(width: 200, height: 50)

// Prominent Action Button
Button("Confirm Action") {
    // Action
}
.buttonStyle(.borderedProminent)
.tint(Color.pink)

WCAG 2.1 Accessibility Contrast Audit

Contrast calculations of Pink against pure white and iOS OLED dark surfaces.

Light Mode (#FF2D55)on White (#FFF)
Contrast Ratio:3.65:1
Normal Text (4.5:1 AA): Fail
Dark Mode (#FF375F)on Dark (#1C1C1E)
Contrast Ratio:4.83:1
Normal Text (4.5:1 AA): Pass (AA)

Recommended HIG Use Cases

  • Fitness, health metrics, and heart rate indicators
  • Favorite bookmarks and social reactions
  • Lifestyle personalization accents

Anti-Patterns to Avoid

  • Standard neutral system dialogs

Browse More SwiftUI Colors

Quickly jump to other Apple system colors and semantic tokens.

All 18 Colors →

Frequently Asked Questions

How do I use Color.pink in SwiftUI?

In SwiftUI, apply the color directly using view modifiers like .foregroundStyle(.pink), .tint(.pink), or .background(.pink). You can also instantiate it via Color.pink.

What is the HEX code for SwiftUI Pink in light and dark mode?

In light appearance, SwiftUI Pink resolves to #FF2D55. In dark appearance, it automatically adapts to #FF375F.

What is the UIKit and AppKit equivalent of SwiftUI Color.pink?

The UIKit equivalent is UIColor.systemPink (accessible in SwiftUI via Color(uiColor: .systemPink)). The AppKit equivalent is NSColor.systemPink (accessible via Color(nsColor: .systemPink)).

Does SwiftUI Color.pink adapt automatically to dark mode?

Yes, Color.pink is a dynamic Apple system token that automatically updates between light (#FF2D55) and dark (#FF375F) appearances when the system appearance changes.

What is the Display P3 and sRGB value of Color.pink?

Color.pink uses resolved sRGB values (#FF2D55 in light, #FF375F in dark) and supports wide color gamut Display P3 coordinates for high-fidelity rendering on Apple Retina displays.