#9B1D48#9B1D48
#9B1D48 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.162 H 6.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1D48 |
|---|---|
| RGB | rgb(155, 29, 72) |
| HSL | hsl(340, 68%, 36%) |
| HSV | hsv(340, 81%, 61%) |
| CMYK | cmyk(0%, 81.3%, 53.5%, 39.2%) |
| CIE-LAB | lab(34.64, 52.71, 7.42) |
| CIE-LCH | lch(34.64, 53.23, 8.01°) |
| OKLab | oklab(45.75% 0.1609 0.0192) |
| OKLCH | oklch(45.75% 0.162 6.8) |
| XYZ | xyz(15.1280, 8.3173, 6.9384) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.58
Purple Red
#990147
ΔE00 2.70
Purplish Red
#B0054B
ΔE00 3.79
Cranberry
#9E003A
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 3.87
Violet Red
#A50055
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1D48 #1D9B70
analogous
#9B1D87 #9B1D48 #9B311D
triadic
#9B1D48 #489B1D #1D489B
tetradic
#9B1D48 #879B1D #1D9B70 #311D9B
square
#9B1D48 #879B1D #1D9B70 #311D9B
split-complementary
#9B1D48 #1D9B31 #1D879B
monochromatic
#340A18 #671330 #9B1D48 #CF2760 #DF5383
Accessibility & contrast
On white
7.89
#9B1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9B1D48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1D48
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1D48 | 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)
#3F4149
Deuteranopia (green-blind)
#605A45
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1d48; /* rgb */ color: rgb(155, 29, 72); /* oklch */ color: oklch(45.8% 0.162 6.8);
Tailwind
colors: {
custom: {
50: '#bf677a',
500: '#9b1d48',
950: '#000000',
},
}SCSS
$custom: #9b1d48; $custom-light: #bf677a; $custom-dark: #000000;
JSON
{
"hex": "#9b1d48",
"rgb": {
"r": 155,
"g": 29,
"b": 72
},
"hsl": {
"h": 339.524,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.45751,
"c": 0.16202,
"h": 6.8
},
"luminance": 0.08315
}Semantic roles & 50–950 ramp
primary
#9B1D48
secondary
#52C29C
accent
#EBB03C
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B