#9E1F45#9E1F45
#9E1F45 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 9.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F45 |
|---|---|
| RGB | rgb(158, 31, 69) |
| HSL | hsl(342, 67%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 56.3%, 38%) |
| CIE-LAB | lab(35.36, 52.75, 10.47) |
| CIE-LCH | lch(35.36, 53.78, 11.23°) |
| OKLab | oklab(46.37% 0.1603 0.0265) |
| OKLCH | oklch(46.37% 0.162 9.4) |
| XYZ | xyz(15.6662, 8.6810, 6.4797) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.89
Raspberry (survey)
#B00149
ΔE00 3.30
Purplish Red
#B0054B
ΔE00 3.39
Purple Red
#990147
ΔE00 4.12
Berry
#990F4B
ΔE00 4.19
Rouge
#AB1239
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F45 #1F9E78
analogous
#9E1F85 #9E1F45 #9E381F
triadic
#9E1F45 #459E1F #1F459E
tetradic
#9E1F45 #859E1F #1F9E78 #381F9E
square
#9E1F45 #859E1F #1F9E78 #381F9E
split-complementary
#9E1F45 #1F9E38 #1F859E
monochromatic
#380B18 #6B152F #9E1F45 #D1295B #DE5981
Accessibility & contrast
On white
7.68
#9E1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F45
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F45 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#635C42
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f45; /* rgb */ color: rgb(158, 31, 69); /* oklch */ color: oklch(46.4% 0.162 9.4);
Tailwind
colors: {
custom: {
50: '#c16878',
500: '#9e1f45',
950: '#000000',
},
}SCSS
$custom: #9e1f45; $custom-light: #c16878; $custom-dark: #000000;
JSON
{
"hex": "#9e1f45",
"rgb": {
"r": 158,
"g": 31,
"b": 69
},
"hsl": {
"h": 342.047,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46369,
"c": 0.16243,
"h": 9.4
},
"luminance": 0.08679
}Semantic roles & 50–950 ramp
primary
#9E1F45
secondary
#56C2A2
accent
#EAB73E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B