#9B1B4D#9B1B4D
#9B1B4D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.165 H 3.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1B4D |
|---|---|
| RGB | rgb(155, 27, 77) |
| HSL | hsl(337, 70%, 36%) |
| HSV | hsv(337, 83%, 61%) |
| CMYK | cmyk(0%, 82.6%, 50.3%, 39.2%) |
| CIE-LAB | lab(34.58, 53.68, 4.08) |
| CIE-LCH | lch(34.58, 53.83, 4.35°) |
| OKLab | oklab(45.76% 0.1645 0.011) |
| OKLCH | oklch(45.76% 0.165 3.8) |
| XYZ | xyz(15.2504, 8.2904, 7.8169) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.33
Purple Red
#990147
ΔE00 2.08
Violet Red
#A50055
ΔE00 2.95
Mulberry
#920A4E
ΔE00 3.58
Dark Fuchsia
#9D0759
ΔE00 4.30
Purplish Red
#B0054B
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1B4D #1B9B69
analogous
#9B1B8D #9B1B4D #9B291B
triadic
#9B1B4D #4D9B1B #1B4D9B
tetradic
#9B1B4D #8D9B1B #1B9B69 #291B9B
square
#9B1B4D #8D9B1B #1B9B69 #291B9B
split-complementary
#9B1B4D #1B9B29 #1B8D9B
monochromatic
#330919 #671233 #9B1B4D #CF2467 #E05088
Accessibility & contrast
On white
7.90
#9B1B4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9B1B4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1B4D
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1B4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1B4D | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#5E5A4A
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1b4d; /* rgb */ color: rgb(155, 27, 77); /* oklch */ color: oklch(45.8% 0.165 3.8);
Tailwind
colors: {
custom: {
50: '#be677e',
500: '#9b1b4d',
950: '#000000',
},
}SCSS
$custom: #9b1b4d; $custom-light: #be677e; $custom-dark: #000000;
JSON
{
"hex": "#9b1b4d",
"rgb": {
"r": 155,
"g": 27,
"b": 77
},
"hsl": {
"h": 336.563,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.45756,
"c": 0.1649,
"h": 3.8
},
"luminance": 0.08288
}Semantic roles & 50–950 ramp
primary
#9B1B4D
secondary
#4FC396
accent
#EDA73B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B