#9B1D47#9B1D47
#9B1D47 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.162 H 7.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1D47 |
|---|---|
| RGB | rgb(155, 29, 71) |
| HSL | hsl(340, 68%, 36%) |
| HSV | hsv(340, 81%, 61%) |
| CMYK | cmyk(0%, 81.3%, 54.2%, 39.2%) |
| CIE-LAB | lab(34.61, 52.63, 8.03) |
| CIE-LCH | lch(34.61, 53.24, 8.68°) |
| OKLab | oklab(45.72% 0.1605 0.0206) |
| OKLCH | oklch(45.72% 0.162 7.3) |
| XYZ | xyz(15.0957, 8.3044, 6.7680) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.84
Purple Red
#990147
ΔE00 2.88
Cranberry
#9E003A
ΔE00 3.52
Purplish Red
#B0054B
ΔE00 3.76
Raspberry (survey)
#B00149
ΔE00 3.80
Violet Red
#A50055
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1D47 #1D9B71
analogous
#9B1D86 #9B1D47 #9B321D
triadic
#9B1D47 #479B1D #1D479B
tetradic
#9B1D47 #869B1D #1D9B71 #321D9B
square
#9B1D47 #869B1D #1D9B71 #321D9B
split-complementary
#9B1D47 #1D9B32 #1D869B
monochromatic
#340A18 #67132F #9B1D47 #CF275F #DF5382
Accessibility & contrast
On white
7.89
#9B1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9B1D47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1D47
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1D47 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#605A44
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1d47; /* rgb */ color: rgb(155, 29, 71); /* oklch */ color: oklch(45.7% 0.162 7.3);
Tailwind
colors: {
custom: {
50: '#bf6779',
500: '#9b1d47',
950: '#000000',
},
}SCSS
$custom: #9b1d47; $custom-light: #bf6779; $custom-dark: #000000;
JSON
{
"hex": "#9b1d47",
"rgb": {
"r": 155,
"g": 29,
"b": 71
},
"hsl": {
"h": 340,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.45723,
"c": 0.16182,
"h": 7.3
},
"luminance": 0.08302
}Semantic roles & 50–950 ramp
primary
#9B1D47
secondary
#52C29D
accent
#EBB13C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B