#D7187B
Closest named color: Dark Hot Pink (#D90166). oklch(57.9% 0.226 357.3), rgb(215, 24, 123).
Aa
White text reads best on this color (4.87:1).
About this color
#D7187B is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.226 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.031 away. White text reads best on it, at 4.87:1.
| Hue family | Reds |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.226) |
| Temperature | warm |
| Nearest name | Dark Hot Pink (#D90166) |
| Black text | 4.30:1 |
| White text | 4.87:1 |
Values
| HEX | #D7187B |
| RGB | rgb(215, 24, 123) |
| HSL | hsl(329, 80%, 47%) |
| OKLCH | oklch(57.9% 0.226 357.3) |
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 #D7187B | 4.87:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #D7187B | 4.30:1 | AA large text | Lc 32.3 | Non-text elements, placeholder text |
| #D7187B text on white | 4.87:1 | AA | Lc 71.7 | Content text, not long reading |
| #D7187B text on black | 4.30:1 | AA large text | Lc -29.9 | 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
#FEF2F5
oklch(97.1% 0.013 0.3)
-
Step 100
100
#FBE2EA
oklch(93.5% 0.029 356.3)
-
Step 200
200
#F9CAD9
oklch(88.4% 0.056 357.2)
-
Step 300
300
#F6A5C1
oklch(80.9% 0.101 357.3)
-
Step 400
400
#EE70A1
oklch(70.8% 0.163 357.6)
-
Step 500
500
#E4408A
oklch(63.1% 0.208 357.5)
-
Step 600
600 (this color)
#D7187B
oklch(57.9% 0.226 357.3)
-
Step 700
700
#AF0062
oklch(49.1% 0.2 357.1)
-
Step 800
800
#910050
oklch(42.7% 0.174 357.2)
-
Step 900
900
#741442
oklch(37.6% 0.135 357.3)
-
Step 950
950
#450F27
oklch(27.1% 0.086 357.3)
#D7187B 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) | #4C5B7D | 0.258 |
| Deuteranopia (no green cones) | #7F7D77 | 0.227 |
| Tritanopia (no blue cones) | #E9004B | 0.078 |
| Achromatopsia (no color) | #717171 | 0.228 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7187B
#D7187B
oklch(57.9% 0.226 357.3)
- #008E79
#008E79
oklch(57.8% 0.107 177.4)
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 #D7187B, closest first.
No curated palette has a color within ΔE 0.04 of #D7187B.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Hot Pink #D90166 ΔE 0.031
- Medium Violet Red #C71585 ΔE 0.039
- Cerise #DE0C62 ΔE 0.040
- Dark Pink #CB416B ΔE 0.058
- Lipstick #D5174E ΔE 0.066
- Neon Pink #F72585 ΔE 0.068
- Deep Rose #C74767 ΔE 0.073
- Ruby #CA0147 ΔE 0.077
Use #D7187B 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.