#9E1B45#9E1B45
#9E1B45 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 8.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B45 |
|---|---|
| RGB | rgb(158, 27, 69) |
| HSL | hsl(341, 71%, 36%) |
| HSV | hsv(341, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 56.3%, 38%) |
| CIE-LAB | lab(34.97, 53.86, 9.93) |
| CIE-LCH | lch(34.97, 54.77, 10.45°) |
| OKLab | oklab(46.08% 0.1638 0.0252) |
| OKLCH | oklch(46.08% 0.166 8.7) |
| XYZ | xyz(15.5682, 8.4849, 6.4471) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.79
Raspberry (survey)
#B00149
ΔE00 3.20
Purplish Red
#B0054B
ΔE00 3.27
Purple Red
#990147
ΔE00 3.57
Berry
#990F4B
ΔE00 3.70
Red Wine
#8C0034
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B45 #1B9E74
analogous
#9E1B87 #9E1B45 #9E321B
triadic
#9E1B45 #459E1B #1B459E
tetradic
#9E1B45 #879E1B #1B9E74 #321B9E
square
#9E1B45 #879E1B #1B9E74 #321B9E
split-complementary
#9E1B45 #1B9E32 #1B879E
monochromatic
#350917 #6A122E #9E1B45 #D2245C #E15280
Accessibility & contrast
On white
7.79
#9E1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9E1B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B45
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B45 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404246
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1b45; /* rgb */ color: rgb(158, 27, 69); /* oklch */ color: oklch(46.1% 0.166 8.7);
Tailwind
colors: {
custom: {
50: '#c16778',
500: '#9e1b45',
950: '#000000',
},
}SCSS
$custom: #9e1b45; $custom-light: #c16778; $custom-dark: #000000;
JSON
{
"hex": "#9e1b45",
"rgb": {
"r": 158,
"g": 27,
"b": 69
},
"hsl": {
"h": 340.763,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.46082,
"c": 0.16576,
"h": 8.7
},
"luminance": 0.08483
}Semantic roles & 50–950 ramp
primary
#9E1B45
secondary
#51C49F
accent
#EEB43A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B