#9E1642#9E1642
#9E1642 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 9.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1642 |
|---|---|
| RGB | rgb(158, 22, 66) |
| HSL | hsl(341, 76%, 35%) |
| HSV | hsv(341, 86%, 62%) |
| CMYK | cmyk(0%, 86.1%, 58.2%, 38%) |
| CIE-LAB | lab(34.47, 54.85, 11.20) |
| CIE-LCH | lch(34.47, 55.99, 11.54°) |
| OKLab | oklab(45.69% 0.1666 0.0281) |
| OKLCH | oklch(45.69% 0.169 9.6) |
| XYZ | xyz(15.3724, 8.2386, 5.9340) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.03
Raspberry (survey)
#B00149
ΔE00 3.31
Purplish Red
#B0054B
ΔE00 3.48
Purple Red
#990147
ΔE00 3.77
Berry
#990F4B
ΔE00 4.09
Red Wine
#8C0034
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1642 #169E72
analogous
#9E1686 #9E1642 #9E2E16
triadic
#9E1642 #429E16 #16429E
tetradic
#9E1642 #869E16 #169E72 #2E169E
square
#9E1642 #869E16 #169E72 #2E169E
split-complementary
#9E1642 #169E2E #16869E
monochromatic
#330715 #680F2C #9E1642 #D41D58 #E6497C
Accessibility & contrast
On white
7.93
#9E1642 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1642 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1642
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1642 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1642; /* rgb */ color: rgb(158, 22, 66); /* oklch */ color: oklch(45.7% 0.169 9.6);
Tailwind
colors: {
custom: {
50: '#c26576',
500: '#9e1642',
950: '#000000',
},
}SCSS
$custom: #9e1642; $custom-light: #c26576; $custom-dark: #000000;
JSON
{
"hex": "#9e1642",
"rgb": {
"r": 158,
"g": 22,
"b": 66
},
"hsl": {
"h": 340.588,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.45692,
"c": 0.16894,
"h": 9.6
},
"luminance": 0.08236
}Semantic roles & 50–950 ramp
primary
#9E1642
secondary
#49C79E
accent
#F2B536
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B