#9E1F40#9E1F40
#9E1F40 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 12.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F40 |
|---|---|
| RGB | rgb(158, 31, 64) |
| HSL | hsl(344, 67%, 37%) |
| HSV | hsv(344, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 59.5%, 38%) |
| CIE-LAB | lab(35.25, 52.39, 13.55) |
| CIE-LCH | lch(35.25, 54.11, 14.50°) |
| OKLab | oklab(46.24% 0.1583 0.0336) |
| OKLCH | oklch(46.24% 0.162 12) |
| XYZ | xyz(15.5175, 8.6215, 5.6965) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.35
Rouge
#AB1239
ΔE00 3.60
Raspberry (survey)
#B00149
ΔE00 3.95
Purplish Red
#B0054B
ΔE00 4.21
Red Wine
#8C0034
ΔE00 5.03
Purple Red
#990147
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F40 #1F9E7D
analogous
#9E1F80 #9E1F40 #9E3D1F
triadic
#9E1F40 #409E1F #1F409E
tetradic
#9E1F40 #809E1F #1F9E7D #3D1F9E
square
#9E1F40 #809E1F #1F9E7D #3D1F9E
split-complementary
#9E1F40 #1F9E3D #1F809E
monochromatic
#380B17 #6B152B #9E1F40 #D12955 #DE597C
Accessibility & contrast
On white
7.71
#9E1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9E1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F40
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F40 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f40; /* rgb */ color: rgb(158, 31, 64); /* oklch */ color: oklch(46.2% 0.162 12.0);
Tailwind
colors: {
custom: {
50: '#c16874',
500: '#9e1f40',
950: '#000000',
},
}SCSS
$custom: #9e1f40; $custom-light: #c16874; $custom-dark: #000000;
JSON
{
"hex": "#9e1f40",
"rgb": {
"r": 158,
"g": 31,
"b": 64
},
"hsl": {
"h": 344.409,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46244,
"c": 0.1618,
"h": 12
},
"luminance": 0.08619
}Semantic roles & 50–950 ramp
primary
#9E1F40
secondary
#56C2A6
accent
#EABD3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B