#D12A98
Closest named color: Medium Violet Red (#C71585). oklch(58.9% 0.223 346.1), rgb(209, 42, 152).
Aa
White text reads best on this color (4.67:1).
About this color
#D12A98 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.223 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.038 away. White text reads best on it, at 4.67:1.
| Hue family | Reds |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.223) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.49:1 |
| White text | 4.67:1 |
Values
| HEX | #D12A98 |
| RGB | rgb(209, 42, 152) |
| HSL | hsl(320, 67%, 49%) |
| OKLCH | oklch(58.9% 0.223 346.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 #D12A98 | 4.67:1 | AA | Lc -76.3 | Fine for body text |
| Black text on #D12A98 | 4.49:1 | AA large text | Lc 33.2 | Non-text elements, placeholder text |
| #D12A98 text on white | 4.67:1 | AA | Lc 70.9 | Content text, not long reading |
| #D12A98 text on black | 4.49:1 | AA large text | Lc -30.8 | 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
#F9E3EE
oklch(93.7% 0.028 345.9)
-
Step 200
200
#F6CBE1
oklch(88.5% 0.056 346.1)
-
Step 300
300
#F0A6CE
oklch(80.8% 0.1 346)
-
Step 400
400
#E573B5
oklch(70.7% 0.16 346.2)
-
Step 500
500
#DA46A3
oklch(63% 0.205 346)
-
Step 600
600 (this color)
#D12A98
oklch(58.9% 0.223 346.1)
-
Step 700
700
#AA0179
oklch(49.1% 0.208 345.9)
-
Step 800
800
#8A0E62
oklch(42.7% 0.171 346.1)
-
Step 900
900
#6F1850
oklch(37.6% 0.134 346)
-
Step 950
950
#42112F
oklch(27.1% 0.084 346.5)
#D12A98 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) | #44629B | 0.250 |
| Deuteranopia (no green cones) | #767E94 | 0.218 |
| Tritanopia (no blue cones) | #E0245F | 0.093 |
| Achromatopsia (no color) | #747474 | 0.225 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D12A98
#D12A98
oklch(58.9% 0.223 346.1)
- #00936C
#00936C
oklch(58.8% 0.122 166.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 #D12A98, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.038
- Purpley Pink #C83CB9 ΔE 0.054
- Pinky Purple #C94CBE ΔE 0.067
- Dark Hot Pink #D90166 ΔE 0.076
- Neon Pink #F72585 ΔE 0.083
- Dark Pink #CB416B ΔE 0.083
- Cerise #DE0C62 ΔE 0.084
- Shocking Pink #FE02A2 ΔE 0.086
Use #D12A98 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.