#D02D8D
Closest named color: Medium Violet Red (#C71585). oklch(58.5% 0.214 350.1), rgb(208, 45, 141).
Aa
White text reads best on this color (4.72:1).
About this color
#D02D8D is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.214 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.032 away. White text reads best on it, at 4.72:1.
| Hue family | Reds |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.214) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.44:1 |
| White text | 4.72:1 |
Values
| HEX | #D02D8D |
| RGB | rgb(208, 45, 141) |
| HSL | hsl(325, 64%, 50%) |
| OKLCH | oklch(58.5% 0.214 350.1) |
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 #D02D8D | 4.72:1 | AA | Lc -76.8 | Fine for body text |
| Black text on #D02D8D | 4.44:1 | AA large text | Lc 32.7 | Non-text elements, placeholder text |
| #D02D8D text on white | 4.72:1 | AA | Lc 71.3 | Content text, not long reading |
| #D02D8D text on black | 4.44:1 | AA large text | Lc -30.3 | 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 600.
-
Step 50
50
#FDF2F7
oklch(97.1% 0.013 347.9)
-
Step 100
100
#F9E3EC
oklch(93.6% 0.027 350.9)
-
Step 200
200
#F6CBDE
oklch(88.4% 0.054 349.9)
-
Step 300
300
#F1A7C9
oklch(80.9% 0.097 350.3)
-
Step 400
400
#E674AE
oklch(70.7% 0.155 350)
-
Step 500
500
#DB499A
oklch(63.1% 0.198 350)
-
Step 600
600 (this color)
#D02D8D
oklch(58.5% 0.214 350.1)
-
Step 700
700
#AA0C70
oklch(49% 0.199 350)
-
Step 800
800
#8A125B
oklch(42.6% 0.165 350)
-
Step 900
900
#6F1A4B
oklch(37.6% 0.128 349.7)
-
Step 950
950
#42112C
oklch(27% 0.082 350)
#D02D8D 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) | #4A618F | 0.241 |
| Deuteranopia (no green cones) | #7A7E89 | 0.212 |
| Tritanopia (no blue cones) | #E0205A | 0.082 |
| Achromatopsia (no color) | #737373 | 0.216 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D02D8D
#D02D8D
oklch(58.5% 0.214 350.1)
- #009171
#009171
oklch(58.4% 0.116 170.1)
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 #D02D8D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.032
- Dark Hot Pink #D90166 ΔE 0.060
- Dark Pink #CB416B ΔE 0.066
- Cerise #DE0C62 ΔE 0.068
- Purpley Pink #C83CB9 ΔE 0.069
- Neon Pink #F72585 ΔE 0.078
- Deep Rose #C74767 ΔE 0.078
- Pinky Purple #C94CBE ΔE 0.079
Use #D02D8D 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.