#D840BA
Closest named color: Pinky Purple (#C94CBE). oklch(63.2% 0.226 337), rgb(216, 64, 186).
Aa
Black text reads best on this color (5.36:1).
About this color
#D840BA is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.226 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.031 away. Black text reads best on it, at 5.36:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.226) |
| Temperature | warm |
| Nearest name | Pinky Purple (#C94CBE) |
| Black text | 5.36:1 |
| White text | 3.91:1 |
Values
| HEX | #D840BA |
| RGB | rgb(216, 64, 186) |
| HSL | hsl(312, 66%, 55%) |
| OKLCH | oklch(63.2% 0.226 337) |
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 #D840BA | 3.91:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #D840BA | 5.36:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #D840BA text on white | 3.91:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #D840BA text on black | 5.36:1 | AA | Lc -36.2 | 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
#FCF2F9
oklch(97.1% 0.014 336.1)
-
Step 100
100
#F9E2F2
oklch(93.6% 0.033 336.7)
-
Step 200
200
#F5CAE8
oklch(88.5% 0.062 337.2)
-
Step 300
300
#EFA5DB
oklch(81% 0.111 336.9)
-
Step 400
400
#E370C8
oklch(70.7% 0.176 337)
-
Step 500
500 (this color)
#D840BA
oklch(63.2% 0.226 337)
-
Step 600
600
#C300A6
oklch(55.7% 0.245 336.9)
-
Step 700
700
#A5008C
oklch(49.2% 0.217 337)
-
Step 800
800
#880073
oklch(42.7% 0.188 337)
-
Step 900
900
#6E135D
oklch(37.7% 0.147 337.2)
-
Step 950
950
#410E37
oklch(27% 0.095 336.8)
#D840BA 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) | #4472BD | 0.246 |
| Deuteranopia (no green cones) | #7789B6 | 0.212 |
| Tritanopia (no blue cones) | #E34978 | 0.110 |
| Achromatopsia (no color) | #818181 | 0.228 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D840BA
#D840BA
oklch(63.2% 0.226 337)
- #00A463
#00A463
oklch(63.2% 0.151 156.8)
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 #D840BA, closest first.
No curated palette has a color within ΔE 0.04 of #D840BA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pinky Purple #C94CBE ΔE 0.031
- Purpley Pink #C83CB9 ΔE 0.033
- Hot Magenta #F504C9 ΔE 0.066
- Purple Pink #D725DE ΔE 0.067
- Medium Orchid #BA55D3 ΔE 0.070
- Bright Pink #FE01B1 ΔE 0.075
- Pale Magenta #D767AD ΔE 0.078
- Shocking Pink #FE02A2 ΔE 0.082
Use #D840BA 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.