#D2158B
Closest named color: Medium Violet Red (#C71585). oklch(57.5% 0.231 350.2), rgb(210, 21, 139).
Aa
White text reads best on this color (4.97:1).
About this color
#D2158B is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.231 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.023 away. White text reads best on it, at 4.97:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.231) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.22:1 |
| White text | 4.97:1 |
Values
| HEX | #D2158B |
| RGB | rgb(210, 21, 139) |
| HSL | hsl(323, 82%, 45%) |
| OKLCH | oklch(57.5% 0.231 350.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 #D2158B | 4.97:1 | AA | Lc -77.8 | Fine for body text |
| Black text on #D2158B | 4.22:1 | AA large text | Lc 31.7 | Non-text elements, placeholder text |
| #D2158B text on white | 4.97:1 | AA | Lc 72.3 | Content text, not long reading |
| #D2158B text on black | 4.22:1 | AA large text | Lc -29.3 | 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
#FBE2ED
oklch(93.6% 0.031 349.3)
-
Step 200
200
#F8CADE
oklch(88.5% 0.058 350.4)
-
Step 300
300
#F4A5CA
oklch(80.9% 0.104 350)
-
Step 400
400
#EA70AF
oklch(70.7% 0.166 350)
-
Step 500
500
#E0409B
oklch(63.1% 0.213 350.1)
-
Step 600
600 (this color)
#D2158B
oklch(57.5% 0.231 350.2)
-
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
#72144B
oklch(37.6% 0.138 350.3)
-
Step 950
950
#440F2C
oklch(27.1% 0.087 350.8)
#D2158B 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) | #415B8E | 0.263 |
| Deuteranopia (no green cones) | #777B87 | 0.228 |
| Tritanopia (no blue cones) | #E20053 | 0.091 |
| Achromatopsia (no color) | #707070 | 0.233 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2158B
#D2158B
oklch(57.5% 0.231 350.2)
- #008E6F
#008E6F
oklch(57.5% 0.113 170.3)
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 #D2158B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.023
- Dark Hot Pink #D90166 ΔE 0.058
- Cerise #DE0C62 ΔE 0.069
- Purpley Pink #C83CB9 ΔE 0.076
- Dark Pink #CB416B ΔE 0.078
- Neon Pink #F72585 ΔE 0.082
- Electric Pink #FF0490 ΔE 0.089
- Shocking Pink #FE02A2 ΔE 0.090
Use #D2158B 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.