#9E1A40#9E1A40
#9E1A40 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 11.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A40 |
|---|---|
| RGB | rgb(158, 26, 64) |
| HSL | hsl(343, 72%, 36%) |
| HSV | hsv(343, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 59.5%, 38%) |
| CIE-LAB | lab(34.76, 53.76, 12.90) |
| CIE-LCH | lch(34.76, 55.28, 13.49°) |
| OKLab | oklab(45.89% 0.1627 0.0321) |
| OKLCH | oklch(45.89% 0.166 11.2) |
| XYZ | xyz(15.3969, 8.3804, 5.6563) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.85
Raspberry (survey)
#B00149
ΔE00 3.65
Purplish Red
#B0054B
ΔE00 3.90
Rouge
#AB1239
ΔE00 3.99
Red Wine
#8C0034
ΔE00 4.60
Purple Red
#990147
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A40 #1A9E78
analogous
#9E1A82 #9E1A40 #9E361A
triadic
#9E1A40 #409E1A #1A409E
tetradic
#9E1A40 #829E1A #1A9E78 #361A9E
square
#9E1A40 #829E1A #1A9E78 #361A9E
split-complementary
#9E1A40 #1A9E36 #1A829E
monochromatic
#350915 #69112B #9E1A40 #D32355 #E2507A
Accessibility & contrast
On white
7.85
#9E1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E1A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A40
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A40 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1a40; /* rgb */ color: rgb(158, 26, 64); /* oklch */ color: oklch(45.9% 0.166 11.2);
Tailwind
colors: {
custom: {
50: '#c26774',
500: '#9e1a40',
950: '#000000',
},
}SCSS
$custom: #9e1a40; $custom-light: #c26774; $custom-dark: #000000;
JSON
{
"hex": "#9e1a40",
"rgb": {
"r": 158,
"g": 26,
"b": 64
},
"hsl": {
"h": 342.727,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.45889,
"c": 0.16582,
"h": 11.2
},
"luminance": 0.08378
}Semantic roles & 50–950 ramp
primary
#9E1A40
secondary
#4FC5A3
accent
#EEBA39
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B