#9E1A42#9E1A42
#9E1A42 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 10.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A42 |
|---|---|
| RGB | rgb(158, 26, 66) |
| HSL | hsl(342, 72%, 36%) |
| HSV | hsv(342, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 58.2%, 38%) |
| CIE-LAB | lab(34.81, 53.90, 11.66) |
| CIE-LCH | lch(34.81, 55.15, 12.20°) |
| OKLab | oklab(45.94% 0.1635 0.0292) |
| OKLCH | oklch(45.94% 0.166 10.1) |
| XYZ | xyz(15.4549, 8.4035, 5.9615) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.13
Raspberry (survey)
#B00149
ΔE00 3.38
Purplish Red
#B0054B
ΔE00 3.57
Purple Red
#990147
ΔE00 4.21
Berry
#990F4B
ΔE00 4.48
Rouge
#AB1239
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A42 #1A9E76
analogous
#9E1A84 #9E1A42 #9E341A
triadic
#9E1A42 #429E1A #1A429E
tetradic
#9E1A42 #849E1A #1A9E76 #341A9E
square
#9E1A42 #849E1A #1A9E76 #341A9E
split-complementary
#9E1A42 #1A9E34 #1A849E
monochromatic
#350916 #69112C #9E1A42 #D32358 #E2507C
Accessibility & contrast
On white
7.84
#9E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A42
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A42 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AD002C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1a42; /* rgb */ color: rgb(158, 26, 66); /* oklch */ color: oklch(45.9% 0.166 10.1);
Tailwind
colors: {
custom: {
50: '#c16776',
500: '#9e1a42',
950: '#000000',
},
}SCSS
$custom: #9e1a42; $custom-light: #c16776; $custom-dark: #000000;
JSON
{
"hex": "#9e1a42",
"rgb": {
"r": 158,
"g": 26,
"b": 66
},
"hsl": {
"h": 341.818,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.45938,
"c": 0.16607,
"h": 10.1
},
"luminance": 0.08401
}Semantic roles & 50–950 ramp
primary
#9E1A42
secondary
#4FC5A1
accent
#EEB839
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B