#D040AD
Closest named color: Purpley Pink (#C83CB9). oklch(61.4% 0.212 339.2), rgb(208, 64, 173).
Aa
Black text reads best on this color (5.01:1).
About this color
#D040AD is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.212 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.028 away. Black text reads best on it, at 5.01:1.
| Hue family | Pinks |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.212) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 5.01:1 |
| White text | 4.18:1 |
Values
| HEX | #D040AD |
| RGB | rgb(208, 64, 173) |
| HSL | hsl(315, 61%, 53%) |
| OKLCH | oklch(61.4% 0.212 339.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D040AD | 4.18:1 | AA large text | Lc -73.3 | Content text, not long reading |
| Black text on #D040AD | 5.01:1 | AA | Lc 36.3 | Non-text elements, placeholder text |
| #D040AD text on white | 4.18:1 | AA large text | Lc 67.8 | Content text, not long reading |
| #D040AD text on black | 5.01:1 | AA | Lc -33.9 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3F0
oklch(93.6% 0.028 340)
-
Step 200
200
#F4CBE6
oklch(88.5% 0.058 338.9)
-
Step 300
300
#EEA6D7
oklch(80.9% 0.105 339.1)
-
Step 400
400
#E273C2
oklch(70.8% 0.166 339.4)
-
Step 500
500 (this color)
#D040AD
oklch(61.4% 0.212 339.2)
-
Step 600
600
#C1189E
oklch(55.6% 0.23 339.2)
-
Step 700
700
#A60087
oklch(49.1% 0.214 339.2)
-
Step 800
800
#870D6E
oklch(42.7% 0.178 339.1)
-
Step 900
900
#6D1859
oklch(37.7% 0.138 339.3)
-
Step 950
950
#401034
oklch(26.9% 0.088 339.2)
#D040AD with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #486DB0 | 0.231 |
| Deuteranopia (no green cones) | #7684AA | 0.200 |
| Tritanopia (no blue cones) | #DC4571 | 0.099 |
| Achromatopsia (no color) | #7C7C7C | 0.214 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D040AD
#D040AD
oklch(61.4% 0.212 339.2)
- #009D65
#009D65
oklch(61.4% 0.14 159.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D040AD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.028
- Pinky Purple #C94CBE ΔE 0.031
- Medium Violet Red #C71585 ΔE 0.073
- Medium Orchid #BA55D3 ΔE 0.073
- Pale Magenta #D767AD ΔE 0.076
- Purple Pink #D725DE ΔE 0.084
- Hot Magenta #F504C9 ΔE 0.086
- Bright Pink #FE01B1 ΔE 0.088
Use #D040AD in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.