#9B1F49#9B1F49
#9B1F49 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 6.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F49 |
|---|---|
| RGB | rgb(155, 31, 73) |
| HSL | hsl(340, 67%, 36%) |
| HSV | hsv(340, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 52.9%, 39.2%) |
| CIE-LAB | lab(34.87, 52.22, 7.09) |
| CIE-LCH | lch(34.87, 52.69, 7.74°) |
| OKLab | oklab(45.93% 0.1594 0.0184) |
| OKLCH | oklch(45.93% 0.16 6.6) |
| XYZ | xyz(15.2116, 8.4317, 7.1285) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.61
Purple Red
#990147
ΔE00 2.83
Purplish Red
#B0054B
ΔE00 3.82
Raspberry (survey)
#B00149
ΔE00 3.92
Cranberry
#9E003A
ΔE00 4.04
Violet Red
#A50055
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F49 #1F9B71
analogous
#9B1F87 #9B1F49 #9B331F
triadic
#9B1F49 #499B1F #1F499B
tetradic
#9B1F49 #879B1F #1F9B71 #331F9B
square
#9B1F49 #879B1F #1F9B71 #331F9B
split-complementary
#9B1F49 #1F9B33 #1F879B
monochromatic
#350B19 #681531 #9B1F49 #CE2961 #DD5785
Accessibility & contrast
On white
7.82
#9B1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9B1F49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F49
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F49 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40424A
Deuteranopia (green-blind)
#605B46
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1f49; /* rgb */ color: rgb(155, 31, 73); /* oklch */ color: oklch(45.9% 0.160 6.6);
Tailwind
colors: {
custom: {
50: '#be687b',
500: '#9b1f49',
950: '#000000',
},
}SCSS
$custom: #9b1f49; $custom-light: #be687b; $custom-dark: #000000;
JSON
{
"hex": "#9b1f49",
"rgb": {
"r": 155,
"g": 31,
"b": 73
},
"hsl": {
"h": 339.677,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.4593,
"c": 0.16045,
"h": 6.6
},
"luminance": 0.0843
}Semantic roles & 50–950 ramp
primary
#9B1F49
secondary
#55C19C
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B