#9E1740#9E1740
#9E1740 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.168 H 10.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1740 |
|---|---|
| RGB | rgb(158, 23, 64) |
| HSL | hsl(342, 75%, 35%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 59.5%, 38%) |
| CIE-LAB | lab(34.51, 54.49, 12.55) |
| CIE-LCH | lch(34.51, 55.91, 12.97°) |
| OKLab | oklab(45.7% 0.1651 0.0313) |
| OKLCH | oklch(45.7% 0.168 10.7) |
| XYZ | xyz(15.3339, 8.2544, 5.6353) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.66
Raspberry (survey)
#B00149
ΔE00 3.55
Purplish Red
#B0054B
ΔE00 3.79
Rouge
#AB1239
ΔE00 4.22
Red Wine
#8C0034
ΔE00 4.40
Purple Red
#990147
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1740 #179E75
analogous
#9E1783 #9E1740 #9E3217
triadic
#9E1740 #409E17 #17409E
tetradic
#9E1740 #839E17 #179E75 #32179E
square
#9E1740 #839E17 #179E75 #32179E
split-complementary
#9E1740 #179E32 #17839E
monochromatic
#330715 #690F2A #9E1740 #D31F56 #E54B79
Accessibility & contrast
On white
7.92
#9E1740 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1740 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1740
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1740 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1740; /* rgb */ color: rgb(158, 23, 64); /* oklch */ color: oklch(45.7% 0.168 10.7);
Tailwind
colors: {
custom: {
50: '#c26674',
500: '#9e1740',
950: '#000000',
},
}SCSS
$custom: #9e1740; $custom-light: #c26674; $custom-dark: #000000;
JSON
{
"hex": "#9e1740",
"rgb": {
"r": 158,
"g": 23,
"b": 64
},
"hsl": {
"h": 341.778,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45701,
"c": 0.16798,
"h": 10.7
},
"luminance": 0.08252
}Semantic roles & 50–950 ramp
primary
#9E1740
secondary
#4AC6A1
accent
#F1B937
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B