#9B1F47#9B1F47
#9B1F47 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 7.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F47 |
|---|---|
| RGB | rgb(155, 31, 71) |
| HSL | hsl(341, 67%, 36%) |
| HSV | hsv(341, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 54.2%, 39.2%) |
| CIE-LAB | lab(34.81, 52.05, 8.32) |
| CIE-LCH | lch(34.81, 52.71, 9.08°) |
| OKLab | oklab(45.87% 0.1586 0.0214) |
| OKLCH | oklch(45.87% 0.16 7.7) |
| XYZ | xyz(15.1463, 8.4056, 6.7849) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.12
Purple Red
#990147
ΔE00 3.18
Cranberry
#9E003A
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.76
Raspberry (survey)
#B00149
ΔE00 3.79
Violet Red
#A50055
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F47 #1F9B73
analogous
#9B1F85 #9B1F47 #9B351F
triadic
#9B1F47 #479B1F #1F479B
tetradic
#9B1F47 #859B1F #1F9B73 #351F9B
square
#9B1F47 #859B1F #1F9B73 #351F9B
split-complementary
#9B1F47 #1F9B35 #1F859B
monochromatic
#350B18 #681530 #9B1F47 #CE295E #DD5782
Accessibility & contrast
On white
7.83
#9B1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9B1F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F47
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F47 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1f47; /* rgb */ color: rgb(155, 31, 71); /* oklch */ color: oklch(45.9% 0.160 7.7);
Tailwind
colors: {
custom: {
50: '#bf6879',
500: '#9b1f47',
950: '#000000',
},
}SCSS
$custom: #9b1f47; $custom-light: #bf6879; $custom-dark: #000000;
JSON
{
"hex": "#9b1f47",
"rgb": {
"r": 155,
"g": 31,
"b": 71
},
"hsl": {
"h": 340.645,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.45874,
"c": 0.16005,
"h": 7.7
},
"luminance": 0.08403
}Semantic roles & 50–950 ramp
primary
#9B1F47
secondary
#55C19E
accent
#EAB23E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B