#D5338F
Closest named color: Medium Violet Red (#C71585). oklch(59.8% 0.213 350.9), rgb(213, 51, 143).
Aa
Black text reads best on this color (4.69:1).
About this color
#D5338F is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.213 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.046 away. Black text reads best on it, at 4.69:1.
| Hue family | Reds |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.213) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.69:1 |
| White text | 4.46:1 |
Values
| HEX | #D5338F |
| RGB | rgb(213, 51, 143) |
| HSL | hsl(326, 66%, 52%) |
| OKLCH | oklch(59.8% 0.213 350.9) |
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 #D5338F | 4.46:1 | AA large text | Lc -75.1 | Fine for body text |
| Black text on #D5338F | 4.69:1 | AA | Lc 34.5 | Non-text elements, placeholder text |
| #D5338F text on white | 4.46:1 | AA large text | Lc 69.6 | Content text, not long reading |
| #D5338F text on black | 4.69:1 | AA | Lc -32.0 | 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 500.
-
Step 50
50
#FDF2F6
oklch(97.1% 0.013 353.1)
-
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
#F5A5C9
oklch(81% 0.104 351.1)
-
Step 400
400
#EB6FAD
oklch(70.6% 0.167 351)
-
Step 500
500 (this color)
#D5338F
oklch(59.8% 0.213 350.9)
-
Step 600
600
#CC0084
oklch(55.6% 0.231 350.8)
-
Step 700
700
#AD006F
oklch(49.2% 0.205 350.9)
-
Step 800
800
#8F005B
oklch(42.8% 0.178 350.9)
-
Step 900
900
#73134A
oklch(37.7% 0.139 351.3)
-
Step 950
950
#440E2C
oklch(27% 0.089 350.6)
#D5338F 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) | #506591 | 0.239 |
| Deuteranopia (no green cones) | #7E828B | 0.212 |
| Tritanopia (no blue cones) | #E5265D | 0.079 |
| Achromatopsia (no color) | #777777 | 0.215 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D5338F
#D5338F
oklch(59.8% 0.213 350.9)
- #009676
#009676
oklch(59.9% 0.118 170.7)
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 #D5338F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.046
- Dark Hot Pink #D90166 ΔE 0.062
- Dark Pink #CB416B ΔE 0.064
- Neon Pink #F72585 ΔE 0.067
- Cerise #DE0C62 ΔE 0.067
- Purpley Pink #C83CB9 ΔE 0.070
- Pinky Purple #C94CBE ΔE 0.076
- Deep Rose #C74767 ΔE 0.077
Use #D5338F 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.