#9B1B47#9B1B47
#9B1B47 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.164 H 7.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1B47 |
|---|---|
| RGB | rgb(155, 27, 71) |
| HSL | hsl(339, 70%, 36%) |
| HSV | hsv(339, 83%, 61%) |
| CMYK | cmyk(0%, 82.6%, 54.2%, 39.2%) |
| CIE-LAB | lab(34.42, 53.18, 7.76) |
| CIE-LCH | lch(34.42, 53.75, 8.30°) |
| OKLab | oklab(45.58% 0.1623 0.02) |
| OKLCH | oklch(45.58% 0.164 7) |
| XYZ | xyz(15.0483, 8.2095, 6.7522) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.59
Purple Red
#990147
ΔE00 2.60
Cranberry
#9E003A
ΔE00 3.55
Purplish Red
#B0054B
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 3.83
Violet Red
#A50055
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1B47 #1B9B6F
analogous
#9B1B87 #9B1B47 #9B2F1B
triadic
#9B1B47 #479B1B #1B479B
tetradic
#9B1B47 #879B1B #1B9B6F #2F1B9B
square
#9B1B47 #879B1B #1B9B6F #2F1B9B
split-complementary
#9B1B47 #1B9B2F #1B879B
monochromatic
#330917 #67122F #9B1B47 #CF245F #E05082
Accessibility & contrast
On white
7.95
#9B1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9B1B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1B47
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1B47 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#AA002F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1b47; /* rgb */ color: rgb(155, 27, 71); /* oklch */ color: oklch(45.6% 0.164 7.0);
Tailwind
colors: {
custom: {
50: '#bf6779',
500: '#9b1b47',
950: '#000000',
},
}SCSS
$custom: #9b1b47; $custom-light: #bf6779; $custom-dark: #000000;
JSON
{
"hex": "#9b1b47",
"rgb": {
"r": 155,
"g": 27,
"b": 71
},
"hsl": {
"h": 339.375,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.45581,
"c": 0.1635,
"h": 7
},
"luminance": 0.08207
}Semantic roles & 50–950 ramp
primary
#9B1B47
secondary
#4FC39B
accent
#EDB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B