#D20F8A
Closest named color: Medium Violet Red (#C71585). oklch(57.3% 0.233 350.4), rgb(210, 15, 138).
Aa
White text reads best on this color (5.02:1).
About this color
#D20F8A is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.233 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.022 away. White text reads best on it, at 5.02:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.233) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.17:1 |
| White text | 5.02:1 |
Values
| HEX | #D20F8A |
| RGB | rgb(210, 15, 138) |
| HSL | hsl(322, 87%, 44%) |
| OKLCH | oklch(57.3% 0.233 350.4) |
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 #D20F8A | 5.02:1 | AA | Lc -78.0 | Fine for body text |
| Black text on #D20F8A | 4.17:1 | AA large text | Lc 31.6 | Non-text elements, placeholder text |
| #D20F8A text on white | 5.02:1 | AA | Lc 72.5 | Content text, not long reading |
| #D20F8A text on black | 4.17:1 | AA large text | Lc -29.2 | 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
#FDF2F7
oklch(97.1% 0.013 347.9)
-
Step 100
100
#FBE2EC
oklch(93.6% 0.03 351.5)
-
Step 200
200
#F8CADE
oklch(88.5% 0.058 350.4)
-
Step 300
300
#F5A5CA
oklch(81% 0.105 350.4)
-
Step 400
400
#EB6FAE
oklch(70.7% 0.167 350.5)
-
Step 500
500
#E13F9A
oklch(63.1% 0.214 350.6)
-
Step 600
600 (this color)
#D20F8A
oklch(57.3% 0.233 350.4)
-
Step 700
700
#AC0070
oklch(49.1% 0.205 350.2)
-
Step 800
800
#8E005C
oklch(42.6% 0.178 350.1)
-
Step 900
900
#73134B
oklch(37.7% 0.139 350.6)
-
Step 950
950
#440E2C
oklch(27% 0.089 350.6)
#D20F8A 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) | #405A8D | 0.266 |
| Deuteranopia (no green cones) | #777A86 | 0.229 |
| Tritanopia (no blue cones) | #E20052 | 0.092 |
| Achromatopsia (no color) | #6F6F6F | 0.235 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D20F8A
#D20F8A
oklch(57.3% 0.233 350.4)
- #008D6E
#008D6E
oklch(57.2% 0.113 170.2)
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 #D20F8A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.022
- Dark Hot Pink #D90166 ΔE 0.058
- Cerise #DE0C62 ΔE 0.068
- Purpley Pink #C83CB9 ΔE 0.078
- Dark Pink #CB416B ΔE 0.080
- Neon Pink #F72585 ΔE 0.083
- Electric Pink #FF0490 ΔE 0.090
- Strong Pink #FF0789 ΔE 0.091
Use #D20F8A 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.