#9B1E47#9B1E47
#9B1E47 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.161 H 7.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1E47 |
|---|---|
| RGB | rgb(155, 30, 71) |
| HSL | hsl(340, 68%, 36%) |
| HSV | hsv(340, 81%, 61%) |
| CMYK | cmyk(0%, 80.6%, 54.2%, 39.2%) |
| CIE-LAB | lab(34.71, 52.35, 8.17) |
| CIE-LCH | lch(34.71, 52.98, 8.87°) |
| OKLab | oklab(45.8% 0.1596 0.021) |
| OKLCH | oklch(45.8% 0.161 7.5) |
| XYZ | xyz(15.1206, 8.3542, 6.7763) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.98
Purple Red
#990147
ΔE00 3.03
Cranberry
#9E003A
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.76
Raspberry (survey)
#B00149
ΔE00 3.80
Violet Red
#A50055
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1E47 #1E9B72
analogous
#9B1E86 #9B1E47 #9B341E
triadic
#9B1E47 #479B1E #1E479B
tetradic
#9B1E47 #869B1E #1E9B72 #341E9B
square
#9B1E47 #869B1E #1E9B72 #341E9B
split-complementary
#9B1E47 #1E9B34 #1E869B
monochromatic
#340A18 #681430 #9B1E47 #CE285E #DE5582
Accessibility & contrast
On white
7.86
#9B1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9B1E47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1E47
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1E47 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1e47; /* rgb */ color: rgb(155, 30, 71); /* oklch */ color: oklch(45.8% 0.161 7.5);
Tailwind
colors: {
custom: {
50: '#bf6879',
500: '#9b1e47',
950: '#000000',
},
}SCSS
$custom: #9b1e47; $custom-light: #bf6879; $custom-dark: #000000;
JSON
{
"hex": "#9b1e47",
"rgb": {
"r": 155,
"g": 30,
"b": 71
},
"hsl": {
"h": 340.32,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.45797,
"c": 0.16094,
"h": 7.5
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#9B1E47
secondary
#53C29D
accent
#EAB23D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B