#9E1540#9E1540
#9E1540 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 10.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1540 |
|---|---|
| RGB | rgb(158, 21, 64) |
| HSL | hsl(341, 77%, 35%) |
| HSV | hsv(341, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 59.5%, 38%) |
| CIE-LAB | lab(34.35, 54.94, 12.33) |
| CIE-LCH | lch(34.35, 56.30, 12.65°) |
| OKLab | oklab(45.59% 0.1665 0.0307) |
| OKLCH | oklch(45.59% 0.169 10.5) |
| XYZ | xyz(15.2957, 8.1779, 5.6226) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.58
Raspberry (survey)
#B00149
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.75
Purple Red
#990147
ΔE00 4.24
Red Wine
#8C0034
ΔE00 4.29
Rouge
#AB1239
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1540 #159E73
analogous
#9E1584 #9E1540 #9E2F15
triadic
#9E1540 #409E15 #15409E
tetradic
#9E1540 #849E15 #159E73 #2F159E
square
#9E1540 #849E15 #159E73 #2F159E
split-complementary
#9E1540 #159E2F #15849E
monochromatic
#320714 #680E2A #9E1540 #D41C56 #E74779
Accessibility & contrast
On white
7.97
#9E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9E1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1540
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1540 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#AD0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1540; /* rgb */ color: rgb(158, 21, 64); /* oklch */ color: oklch(45.6% 0.169 10.5);
Tailwind
colors: {
custom: {
50: '#c26574',
500: '#9e1540',
950: '#000000',
},
}SCSS
$custom: #9e1540; $custom-light: #c26574; $custom-dark: #000000;
JSON
{
"hex": "#9e1540",
"rgb": {
"r": 158,
"g": 21,
"b": 64
},
"hsl": {
"h": 341.168,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.45586,
"c": 0.16931,
"h": 10.5
},
"luminance": 0.08176
}Semantic roles & 50–950 ramp
primary
#9E1540
secondary
#47C79F
accent
#F3B735
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B