#9E1C42#9E1C42
#9E1C42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.165 H 10.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1C42 |
|---|---|
| RGB | rgb(158, 28, 66) |
| HSL | hsl(342, 70%, 36%) |
| HSV | hsv(342, 82%, 62%) |
| CMYK | cmyk(0%, 82.3%, 58.2%, 38%) |
| CIE-LAB | lab(34.99, 53.37, 11.91) |
| CIE-LCH | lch(34.99, 54.69, 12.58°) |
| OKLab | oklab(46.07% 0.1618 0.0298) |
| OKLCH | oklch(46.07% 0.165 10.4) |
| XYZ | xyz(15.5007, 8.4953, 5.9767) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.23
Raspberry (survey)
#B00149
ΔE00 3.45
Purplish Red
#B0054B
ΔE00 3.65
Rouge
#AB1239
ΔE00 4.37
Purple Red
#990147
ΔE00 4.47
Berry
#990F4B
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1C42 #1C9E78
analogous
#9E1C83 #9E1C42 #9E371C
triadic
#9E1C42 #429E1C #1C429E
tetradic
#9E1C42 #839E1C #1C9E78 #371C9E
square
#9E1C42 #839E1C #1C9E78 #371C9E
split-complementary
#9E1C42 #1C9E37 #1C839E
monochromatic
#360A17 #6A132C #9E1C42 #D22558 #E1547D
Accessibility & contrast
On white
7.78
#9E1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9E1C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1C42
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1C42 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414243
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1c42; /* rgb */ color: rgb(158, 28, 66); /* oklch */ color: oklch(46.1% 0.165 10.4);
Tailwind
colors: {
custom: {
50: '#c16776',
500: '#9e1c42',
950: '#000000',
},
}SCSS
$custom: #9e1c42; $custom-light: #c16776; $custom-dark: #000000;
JSON
{
"hex": "#9e1c42",
"rgb": {
"r": 158,
"g": 28,
"b": 66
},
"hsl": {
"h": 342.462,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.46074,
"c": 0.16452,
"h": 10.4
},
"luminance": 0.08493
}Semantic roles & 50–950 ramp
primary
#9E1C42
secondary
#52C4A2
accent
#EDB93B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B