#9B1847#9B1847
#9B1847 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 6.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1847 |
|---|---|
| RGB | rgb(155, 24, 71) |
| HSL | hsl(338, 73%, 35%) |
| HSV | hsv(338, 85%, 61%) |
| CMYK | cmyk(0%, 84.5%, 54.2%, 39.2%) |
| CIE-LAB | lab(34.15, 53.95, 7.38) |
| CIE-LCH | lch(34.15, 54.45, 7.79°) |
| OKLab | oklab(45.38% 0.1648 0.0191) |
| OKLCH | oklch(45.38% 0.166 6.6) |
| XYZ | xyz(14.9830, 8.0790, 6.7305) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.22
Berry
#990F4B
ΔE00 2.25
Cranberry
#9E003A
ΔE00 3.63
Purplish Red
#B0054B
ΔE00 3.84
Raspberry (survey)
#B00149
ΔE00 3.90
Violet Red
#A50055
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1847 #189B6C
analogous
#9B1889 #9B1847 #9B2A18
triadic
#9B1847 #479B18 #18479B
tetradic
#9B1847 #899B18 #189B6C #2A189B
square
#9B1847 #899B18 #189B6C #2A189B
split-complementary
#9B1847 #189B2A #18899B
monochromatic
#310816 #66102F #9B1847 #D0205F #E34A81
Accessibility & contrast
On white
8.03
#9B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9B1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1847
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1847 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5F5944
Tritanopia (blue-blind)
#AA002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9b1847; /* rgb */ color: rgb(155, 24, 71); /* oklch */ color: oklch(45.4% 0.166 6.6);
Tailwind
colors: {
custom: {
50: '#bf6679',
500: '#9b1847',
950: '#000000',
},
}SCSS
$custom: #9b1847; $custom-light: #bf6679; $custom-dark: #000000;
JSON
{
"hex": "#9b1847",
"rgb": {
"r": 155,
"g": 24,
"b": 71
},
"hsl": {
"h": 338.473,
"s": 73.184,
"l": 35.098
},
"oklch": {
"l": 0.45384,
"c": 0.16586,
"h": 6.6
},
"luminance": 0.08077
}Semantic roles & 50–950 ramp
primary
#9B1847
secondary
#4AC599
accent
#F0AE38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B