#DF40A2
Closest named color: Pinky Purple (#C94CBE). oklch(63.2% 0.216 347.2), rgb(223, 64, 162).
Aa
Black text reads best on this color (5.39:1).
About this color
#DF40A2 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.216 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.059 away. Black text reads best on it, at 5.39:1.
| Hue family | Reds |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.216) |
| Temperature | warm |
| Nearest name | Pinky Purple (#C94CBE) |
| Black text | 5.39:1 |
| White text | 3.89:1 |
Values
| HEX | #DF40A2 |
| RGB | rgb(223, 64, 162) |
| HSL | hsl(323, 71%, 56%) |
| OKLCH | oklch(63.2% 0.216 347.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 #DF40A2 | 3.89:1 | AA large text | Lc -70.7 | Content text, not long reading |
| Black text on #DF40A2 | 5.39:1 | AA | Lc 38.9 | Non-text elements, placeholder text |
| #DF40A2 text on white | 3.89:1 | AA large text | Lc 65.2 | Content text, not long reading |
| #DF40A2 text on black | 5.39:1 | AA | Lc -36.5 | 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
#FDF2F7
oklch(97.1% 0.013 347.9)
-
Step 100
100
#FAE2EE
oklch(93.6% 0.031 346)
-
Step 200
200
#F7CAE0
oklch(88.4% 0.058 347.4)
-
Step 300
300
#F3A5CE
oklch(80.9% 0.105 346.9)
-
Step 400
400
#E96FB4
oklch(70.6% 0.169 347.2)
-
Step 500
500 (this color)
#DF40A2
oklch(63.2% 0.216 347.2)
-
Step 600
600
#CA008D
oklch(55.7% 0.235 347.1)
-
Step 700
700
#AB0076
oklch(49.1% 0.207 347.4)
-
Step 800
800
#8D0061
oklch(42.7% 0.18 347.2)
-
Step 900
900
#72134F
oklch(37.7% 0.141 347.6)
-
Step 950
950
#430E2F
oklch(27% 0.09 346.6)
#DF40A2 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) | #5670A5 | 0.239 |
| Deuteranopia (no green cones) | #858B9E | 0.210 |
| Tritanopia (no blue cones) | #EE3B6C | 0.086 |
| Achromatopsia (no color) | #818181 | 0.217 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF40A2
#DF40A2
oklch(63.2% 0.216 347.2)
- #00A279
#00A279
oklch(63.2% 0.13 167)
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 #DF40A2, closest first.
No curated palette has a color within ΔE 0.04 of #DF40A2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pinky Purple #C94CBE ΔE 0.059
- Neon Pink #F72585 ΔE 0.062
- Purpley Pink #C83CB9 ΔE 0.062
- Barbie Pink #FE46A5 ΔE 0.062
- Shocking Pink #FE02A2 ΔE 0.063
- Deep Pink #FF1493 ΔE 0.065
- Pale Magenta #D767AD ΔE 0.066
- Electric Pink #FF0490 ΔE 0.068
Use #DF40A2 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.