#9B1E48#9B1E48
#9B1E48 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.161 H 7.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1E48 |
|---|---|
| RGB | rgb(155, 30, 72) |
| HSL | hsl(340, 68%, 36%) |
| HSV | hsv(340, 81%, 61%) |
| CMYK | cmyk(0%, 80.6%, 53.5%, 39.2%) |
| CIE-LAB | lab(34.74, 52.43, 7.56) |
| CIE-LCH | lch(34.74, 52.97, 8.21°) |
| OKLab | oklab(45.83% 0.16 0.0195) |
| OKLCH | oklch(45.83% 0.161 7) |
| XYZ | xyz(15.1530, 8.3672, 6.9468) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.71
Purple Red
#990147
ΔE00 2.84
Purplish Red
#B0054B
ΔE00 3.78
Cranberry
#9E003A
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 3.86
Violet Red
#A50055
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1E48 #1E9B71
analogous
#9B1E87 #9B1E48 #9B331E
triadic
#9B1E48 #489B1E #1E489B
tetradic
#9B1E48 #879B1E #1E9B71 #331E9B
square
#9B1E48 #879B1E #1E9B71 #331E9B
split-complementary
#9B1E48 #1E9B33 #1E879B
monochromatic
#340A18 #681430 #9B1E48 #CE2860 #DE5583
Accessibility & contrast
On white
7.86
#9B1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9B1E48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1E48
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1E48 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1e48; /* rgb */ color: rgb(155, 30, 72); /* oklch */ color: oklch(45.8% 0.161 7.0);
Tailwind
colors: {
custom: {
50: '#bf687a',
500: '#9b1e48',
950: '#000000',
},
}SCSS
$custom: #9b1e48; $custom-light: #bf687a; $custom-dark: #000000;
JSON
{
"hex": "#9b1e48",
"rgb": {
"r": 155,
"g": 30,
"b": 72
},
"hsl": {
"h": 339.84,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.45825,
"c": 0.16115,
"h": 7
},
"luminance": 0.08365
}Semantic roles & 50–950 ramp
primary
#9B1E48
secondary
#53C29C
accent
#EAB03D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B