#9E1E48#9E1E48
#9E1E48 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.164 H 7.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E48 |
|---|---|
| RGB | rgb(158, 30, 72) |
| HSL | hsl(340, 68%, 37%) |
| HSV | hsv(340, 81%, 62%) |
| CMYK | cmyk(0%, 81%, 54.4%, 38%) |
| CIE-LAB | lab(35.34, 53.27, 8.49) |
| CIE-LCH | lch(35.34, 53.94, 9.06°) |
| OKLab | oklab(46.38% 0.1624 0.0218) |
| OKLCH | oklch(46.38% 0.164 7.6) |
| XYZ | xyz(15.7360, 8.6678, 6.9741) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.22
Berry
#990F4B
ΔE00 3.25
Raspberry (survey)
#B00149
ΔE00 3.27
Purple Red
#990147
ΔE00 3.33
Cranberry
#9E003A
ΔE00 3.55
Violet Red
#A50055
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E48 #1E9E74
analogous
#9E1E88 #9E1E48 #9E341E
triadic
#9E1E48 #489E1E #1E489E
tetradic
#9E1E48 #889E1E #1E9E74 #341E9E
square
#9E1E48 #889E1E #1E9E74 #341E9E
split-complementary
#9E1E48 #1E9E34 #1E889E
monochromatic
#370A19 #6B1431 #9E1E48 #D1285F #DF5784
Accessibility & contrast
On white
7.68
#9E1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9E1E48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E48
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E48 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1e48; /* rgb */ color: rgb(158, 30, 72); /* oklch */ color: oklch(46.4% 0.164 7.6);
Tailwind
colors: {
custom: {
50: '#c1687a',
500: '#9e1e48',
950: '#000000',
},
}SCSS
$custom: #9e1e48; $custom-light: #c1687a; $custom-dark: #000000;
JSON
{
"hex": "#9e1e48",
"rgb": {
"r": 158,
"g": 30,
"b": 72
},
"hsl": {
"h": 340.313,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.46375,
"c": 0.16381,
"h": 7.6
},
"luminance": 0.08666
}Semantic roles & 50–950 ramp
primary
#9E1E48
secondary
#55C39F
accent
#EBB23D
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130709
muted
#827A7B