#D02778
Closest named color: Dark Hot Pink (#D90166). oklch(57.3% 0.21 357.9), rgb(208, 39, 120).
Aa
White text reads best on this color (4.94:1).
About this color
#D02778 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.210 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.032 away. White text reads best on it, at 4.94:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.210) |
| Temperature | warm |
| Nearest name | Dark Hot Pink (#D90166) |
| Black text | 4.24:1 |
| White text | 4.94:1 |
Values
| HEX | #D02778 |
| RGB | rgb(208, 39, 120) |
| HSL | hsl(331, 68%, 48%) |
| OKLCH | oklch(57.3% 0.21 357.9) |
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 #D02778 | 4.94:1 | AA | Lc -78.1 | Fine for body text |
| Black text on #D02778 | 4.24:1 | AA large text | Lc 31.5 | Non-text elements, placeholder text |
| #D02778 text on white | 4.94:1 | AA | Lc 72.6 | Content text, not long reading |
| #D02778 text on black | 4.24:1 | AA large text | Lc -29.1 | Dividers and decoration only |
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
#FDF2F5
oklch(97.1% 0.012 358.8)
-
Step 100
100
#FAE3EA
oklch(93.6% 0.027 357.2)
-
Step 200
200
#F7CBD9
oklch(88.4% 0.053 357.2)
-
Step 300
300
#F3A7C0
oklch(80.8% 0.094 358.1)
-
Step 400
400
#E974A0
oklch(70.6% 0.151 357.9)
-
Step 500
500
#DF4989
oklch(63.1% 0.193 358)
-
Step 600
600 (this color)
#D02778
oklch(57.3% 0.21 357.9)
-
Step 700
700
#AE0A60
oklch(49.1% 0.195 358.1)
-
Step 800
800
#8D124F
oklch(42.7% 0.161 357.7)
-
Step 900
900
#721A41
oklch(37.7% 0.126 358.3)
-
Step 950
950
#431126
oklch(26.9% 0.08 358.1)
#D02778 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) | #4F5C7A | 0.238 |
| Deuteranopia (no green cones) | #7D7B74 | 0.212 |
| Tritanopia (no blue cones) | #E2004D | 0.068 |
| Achromatopsia (no color) | #707070 | 0.212 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D02778
#D02778
oklch(57.3% 0.21 357.9)
- #008C78
#008C78
oklch(57.3% 0.105 177.9)
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 #D02778, closest first.
No curated palette has a color within ΔE 0.04 of #D02778.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Hot Pink #D90166 ΔE 0.032
- Medium Violet Red #C71585 ΔE 0.038
- Cerise #DE0C62 ΔE 0.041
- Dark Pink #CB416B ΔE 0.045
- Deep Rose #C74767 ΔE 0.058
- Lipstick #D5174E ΔE 0.060
- Ruby #CA0147 ΔE 0.070
- Neon Pink #F72585 ΔE 0.078
Use #D02778 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.