#9E1B40#9E1B40
#9E1B40 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.165 H 11.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B40 |
|---|---|
| RGB | rgb(158, 27, 64) |
| HSL | hsl(343, 71%, 36%) |
| HSV | hsv(343, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 59.5%, 38%) |
| CIE-LAB | lab(34.85, 53.50, 13.02) |
| CIE-LCH | lch(34.85, 55.06, 13.68°) |
| OKLab | oklab(45.96% 0.1619 0.0324) |
| OKLCH | oklch(45.96% 0.165 11.3) |
| XYZ | xyz(15.4195, 8.4254, 5.6638) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.93
Raspberry (survey)
#B00149
ΔE00 3.70
Rouge
#AB1239
ΔE00 3.91
Purplish Red
#B0054B
ΔE00 3.95
Red Wine
#8C0034
ΔE00 4.67
Purple Red
#990147
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B40 #1B9E79
analogous
#9E1B82 #9E1B40 #9E371B
triadic
#9E1B40 #409E1B #1B409E
tetradic
#9E1B40 #829E1B #1B9E79 #371B9E
square
#9E1B40 #829E1B #1B9E79 #371B9E
split-complementary
#9E1B40 #1B9E37 #1B829E
monochromatic
#350916 #6A122B #9E1B40 #D22455 #E1527A
Accessibility & contrast
On white
7.82
#9E1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E1B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B40
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B40 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1b40; /* rgb */ color: rgb(158, 27, 64); /* oklch */ color: oklch(46.0% 0.165 11.3);
Tailwind
colors: {
custom: {
50: '#c26774',
500: '#9e1b40',
950: '#000000',
},
}SCSS
$custom: #9e1b40; $custom-light: #c26774; $custom-dark: #000000;
JSON
{
"hex": "#9e1b40",
"rgb": {
"r": 158,
"g": 27,
"b": 64
},
"hsl": {
"h": 343.053,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.45956,
"c": 0.16506,
"h": 11.3
},
"luminance": 0.08423
}Semantic roles & 50–950 ramp
primary
#9E1B40
secondary
#51C4A4
accent
#EEBB3A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B