#9E1D42#9E1D42
#9E1D42 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.164 H 10.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D42 |
|---|---|
| RGB | rgb(158, 29, 66) |
| HSL | hsl(343, 69%, 37%) |
| HSV | hsv(343, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 58.2%, 38%) |
| CIE-LAB | lab(35.09, 53.10, 12.04) |
| CIE-LCH | lch(35.09, 54.45, 12.78°) |
| OKLab | oklab(46.15% 0.1609 0.0302) |
| OKLCH | oklch(46.15% 0.164 10.6) |
| XYZ | xyz(15.5248, 8.5435, 5.9848) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.29
Raspberry (survey)
#B00149
ΔE00 3.50
Purplish Red
#B0054B
ΔE00 3.69
Rouge
#AB1239
ΔE00 4.29
Purple Red
#990147
ΔE00 4.60
Berry
#990F4B
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D42 #1D9E79
analogous
#9E1D83 #9E1D42 #9E391D
triadic
#9E1D42 #429E1D #1D429E
tetradic
#9E1D42 #839E1D #1D9E79 #391D9E
square
#9E1D42 #839E1D #1D9E79 #391D9E
split-complementary
#9E1D42 #1D9E39 #1D839E
monochromatic
#370A17 #6A142C #9E1D42 #D22658 #E0567D
Accessibility & contrast
On white
7.75
#9E1D42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9E1D42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D42
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D42 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1d42; /* rgb */ color: rgb(158, 29, 66); /* oklch */ color: oklch(46.1% 0.164 10.6);
Tailwind
colors: {
custom: {
50: '#c16876',
500: '#9e1d42',
950: '#000000',
},
}SCSS
$custom: #9e1d42; $custom-light: #c16876; $custom-dark: #000000;
JSON
{
"hex": "#9e1d42",
"rgb": {
"r": 158,
"g": 29,
"b": 66
},
"hsl": {
"h": 342.791,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.46145,
"c": 0.1637,
"h": 10.6
},
"luminance": 0.08541
}Semantic roles & 50–950 ramp
primary
#9E1D42
secondary
#54C3A3
accent
#ECB93C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B