#9E1D52#9E1D52
#9E1D52 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.167 H 2.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D52 |
|---|---|
| RGB | rgb(158, 29, 82) |
| HSL | hsl(335, 69%, 37%) |
| HSV | hsv(335, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 48.1%, 38%) |
| CIE-LAB | lab(35.52, 54.39, 2.27) |
| CIE-LCH | lch(35.52, 54.44, 2.39°) |
| OKLab | oklab(46.6% 0.167 0.0064) |
| OKLCH | oklch(46.6% 0.167 2.2) |
| XYZ | xyz(16.0643, 8.7592, 8.8258) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.00
Violet Red
#A50055
ΔE00 2.20
Purple Red
#990147
ΔE00 2.93
Dark Fuchsia
#9D0759
ΔE00 3.56
Mulberry
#920A4E
ΔE00 3.63
Deep Magenta
#A0025C
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D52 #1D9E69
analogous
#9E1D93 #9E1D52 #9E291D
triadic
#9E1D52 #529E1D #1D529E
tetradic
#9E1D52 #939E1D #1D9E69 #291D9E
square
#9E1D52 #939E1D #1D9E69 #291D9E
split-complementary
#9E1D52 #1D9E29 #1D939E
monochromatic
#370A1C #6A1437 #9E1D52 #D2266D #E0568E
Accessibility & contrast
On white
7.63
#9E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E1D52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D52
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D52 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1d52; /* rgb */ color: rgb(158, 29, 82); /* oklch */ color: oklch(46.6% 0.167 2.2);
Tailwind
colors: {
custom: {
50: '#c06882',
500: '#9e1d52',
950: '#000000',
},
}SCSS
$custom: #9e1d52; $custom-light: #c06882; $custom-dark: #000000;
JSON
{
"hex": "#9e1d52",
"rgb": {
"r": 158,
"g": 29,
"b": 82
},
"hsl": {
"h": 335.349,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.46597,
"c": 0.1671,
"h": 2.2
},
"luminance": 0.08757
}Semantic roles & 50–950 ramp
primary
#9E1D52
secondary
#54C395
accent
#ECA43C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C