#9B1F48#9B1F48
#9B1F48 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 7.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F48 |
|---|---|
| RGB | rgb(155, 31, 72) |
| HSL | hsl(340, 67%, 36%) |
| HSV | hsv(340, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 53.5%, 39.2%) |
| CIE-LAB | lab(34.84, 52.13, 7.71) |
| CIE-LCH | lch(34.84, 52.70, 8.41°) |
| OKLab | oklab(45.9% 0.159 0.0199) |
| OKLCH | oklch(45.9% 0.16 7.1) |
| XYZ | xyz(15.1787, 8.4186, 6.9553) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.86
Purple Red
#990147
ΔE00 2.99
Cranberry
#9E003A
ΔE00 3.77
Purplish Red
#B0054B
ΔE00 3.78
Raspberry (survey)
#B00149
ΔE00 3.85
Violet Red
#A50055
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F48 #1F9B72
analogous
#9B1F86 #9B1F48 #9B341F
triadic
#9B1F48 #489B1F #1F489B
tetradic
#9B1F48 #869B1F #1F9B72 #341F9B
square
#9B1F48 #869B1F #1F9B72 #341F9B
split-complementary
#9B1F48 #1F9B34 #1F869B
monochromatic
#350B19 #681530 #9B1F48 #CE2960 #DD5783
Accessibility & contrast
On white
7.83
#9B1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9B1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F48
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F48 | 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)
#404249
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1f48; /* rgb */ color: rgb(155, 31, 72); /* oklch */ color: oklch(45.9% 0.160 7.1);
Tailwind
colors: {
custom: {
50: '#bf687a',
500: '#9b1f48',
950: '#000000',
},
}SCSS
$custom: #9b1f48; $custom-light: #bf687a; $custom-dark: #000000;
JSON
{
"hex": "#9b1f48",
"rgb": {
"r": 155,
"g": 31,
"b": 72
},
"hsl": {
"h": 340.161,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.45902,
"c": 0.16025,
"h": 7.1
},
"luminance": 0.08416
}Semantic roles & 50–950 ramp
primary
#9B1F48
secondary
#55C19D
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B