#9B1851#9B1851
#9B1851 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.168 H 1.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1851 |
|---|---|
| RGB | rgb(155, 24, 81) |
| HSL | hsl(334, 73%, 35%) |
| HSV | hsv(334, 85%, 61%) |
| CMYK | cmyk(0%, 84.5%, 47.7%, 39.2%) |
| CIE-LAB | lab(34.43, 54.79, 1.27) |
| CIE-LCH | lch(34.43, 54.80, 1.33°) |
| OKLab | oklab(45.69% 0.1684 0.0039) |
| OKLCH | oklch(45.69% 0.168 1.3) |
| XYZ | xyz(15.3307, 8.2181, 8.5620) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.44
Violet Red
#A50055
ΔE00 2.03
Purple Red
#990147
ΔE00 2.46
Mulberry
#920A4E
ΔE00 2.62
Dark Fuchsia
#9D0759
ΔE00 2.88
Reddish Purple
#910951
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1851 #189B62
analogous
#9B1892 #9B1851 #9B2018
triadic
#9B1851 #519B18 #18519B
tetradic
#9B1851 #929B18 #189B62 #20189B
square
#9B1851 #929B18 #189B62 #20189B
split-complementary
#9B1851 #189B20 #18929B
monochromatic
#31081A #661035 #9B1851 #D0206D #E34A8D
Accessibility & contrast
On white
7.94
#9B1851 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9B1851 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1851
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1851 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5D5A4E
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1851; /* rgb */ color: rgb(155, 24, 81); /* oklch */ color: oklch(45.7% 0.168 1.3);
Tailwind
colors: {
custom: {
50: '#be6681',
500: '#9b1851',
950: '#000000',
},
}SCSS
$custom: #9b1851; $custom-light: #be6681; $custom-dark: #000000;
JSON
{
"hex": "#9b1851",
"rgb": {
"r": 155,
"g": 24,
"b": 81
},
"hsl": {
"h": 333.893,
"s": 73.184,
"l": 35.098
},
"oklch": {
"l": 0.45686,
"c": 0.16847,
"h": 1.3
},
"luminance": 0.08216
}Semantic roles & 50–950 ramp
primary
#9B1851
secondary
#4AC58F
accent
#F0A038
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C