#D4298D
Closest named color: Medium Violet Red (#C71585). oklch(58.9% 0.22 350.8), rgb(212, 41, 141).
Aa
White text reads best on this color (4.66:1).
About this color
#D4298D is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.220 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.036 away. White text reads best on it, at 4.66:1.
| Hue family | Reds |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.220) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.50:1 |
| White text | 4.66:1 |
Values
| HEX | #D4298D |
| RGB | rgb(212, 41, 141) |
| HSL | hsl(325, 68%, 50%) |
| OKLCH | oklch(58.9% 0.22 350.8) |
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 #D4298D | 4.66:1 | AA | Lc -76.3 | Fine for body text |
| Black text on #D4298D | 4.50:1 | AA | Lc 33.3 | Non-text elements, placeholder text |
| #D4298D text on white | 4.66:1 | AA | Lc 70.8 | Content text, not long reading |
| #D4298D text on black | 4.50:1 | AA | Lc -30.9 | 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
#FDF2F6
oklch(97.1% 0.013 353.1)
-
Step 100
100
#FAE2EC
oklch(93.5% 0.029 350.5)
-
Step 200
200
#F7CBDE
oklch(88.5% 0.055 350.5)
-
Step 300
300
#F2A6C9
oklch(80.8% 0.099 350.4)
-
Step 400
400
#E873AD
oklch(70.8% 0.158 350.9)
-
Step 500
500
#DD4699
oklch(63.1% 0.202 350.6)
-
Step 600
600 (this color)
#D4298D
oklch(58.9% 0.22 350.8)
-
Step 700
700
#AC006F
oklch(49% 0.204 350.6)
-
Step 800
800
#8C0D5A
oklch(42.7% 0.169 351)
-
Step 900
900
#71184A
oklch(37.7% 0.132 351.1)
-
Step 950
950
#43102B
oklch(27% 0.084 351.6)
#D4298D 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) | #4A618F | 0.249 |
| Deuteranopia (no green cones) | #7C7F89 | 0.218 |
| Tritanopia (no blue cones) | #E41759 | 0.082 |
| Achromatopsia (no color) | #747474 | 0.222 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4298D
#D4298D
oklch(58.9% 0.22 350.8)
- #009273
#009273
oklch(58.7% 0.115 170.8)
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 #D4298D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.036
- Dark Hot Pink #D90166 ΔE 0.058
- Cerise #DE0C62 ΔE 0.066
- Dark Pink #CB416B ΔE 0.068
- Purpley Pink #C83CB9 ΔE 0.071
- Neon Pink #F72585 ΔE 0.071
- Pinky Purple #C94CBE ΔE 0.081
- Electric Pink #FF0490 ΔE 0.081
Use #D4298D 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.