#9E1A45#9E1A45
#9E1A45 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 8.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A45 |
|---|---|
| RGB | rgb(158, 26, 69) |
| HSL | hsl(340, 72%, 36%) |
| HSV | hsv(340, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 56.3%, 38%) |
| CIE-LAB | lab(34.88, 54.12, 9.81) |
| CIE-LCH | lch(34.88, 55.00, 10.27°) |
| OKLab | oklab(46.02% 0.1647 0.0249) |
| OKLCH | oklch(46.02% 0.167 8.6) |
| XYZ | xyz(15.5457, 8.4399, 6.4396) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.78
Raspberry (survey)
#B00149
ΔE00 3.20
Purplish Red
#B0054B
ΔE00 3.26
Purple Red
#990147
ΔE00 3.44
Berry
#990F4B
ΔE00 3.59
Red Wine
#8C0034
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A45 #1A9E73
analogous
#9E1A87 #9E1A45 #9E311A
triadic
#9E1A45 #459E1A #1A459E
tetradic
#9E1A45 #879E1A #1A9E73 #311A9E
square
#9E1A45 #879E1A #1A9E73 #311A9E
split-complementary
#9E1A45 #1A9E31 #1A879E
monochromatic
#350917 #69112E #9E1A45 #D3235C #E25080
Accessibility & contrast
On white
7.81
#9E1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A45
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A45 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404146
Deuteranopia (green-blind)
#625B42
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1a45; /* rgb */ color: rgb(158, 26, 69); /* oklch */ color: oklch(46.0% 0.167 8.6);
Tailwind
colors: {
custom: {
50: '#c16778',
500: '#9e1a45',
950: '#000000',
},
}SCSS
$custom: #9e1a45; $custom-light: #c16778; $custom-dark: #000000;
JSON
{
"hex": "#9e1a45",
"rgb": {
"r": 158,
"g": 26,
"b": 69
},
"hsl": {
"h": 340.455,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.46016,
"c": 0.16654,
"h": 8.6
},
"luminance": 0.08438
}Semantic roles & 50–950 ramp
primary
#9E1A45
secondary
#4FC59E
accent
#EEB339
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B