#9B1F4D#9B1F4D
#9B1F4D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 4.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F4D |
|---|---|
| RGB | rgb(155, 31, 77) |
| HSL | hsl(338, 67%, 36%) |
| HSV | hsv(338, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 50.3%, 39.2%) |
| CIE-LAB | lab(34.98, 52.55, 4.65) |
| CIE-LCH | lch(34.98, 52.76, 5.06°) |
| OKLab | oklab(46.05% 0.1609 0.0124) |
| OKLCH | oklch(46.05% 0.161 4.4) |
| XYZ | xyz(15.3485, 8.4865, 7.8496) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.86
Purple Red
#990147
ΔE00 2.52
Violet Red
#A50055
ΔE00 3.35
Mulberry
#920A4E
ΔE00 4.07
Purplish Red
#B0054B
ΔE00 4.22
Raspberry (survey)
#B00149
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F4D #1F9B6D
analogous
#9B1F8B #9B1F4D #9B2F1F
triadic
#9B1F4D #4D9B1F #1F4D9B
tetradic
#9B1F4D #8B9B1F #1F9B6D #2F1F9B
square
#9B1F4D #8B9B1F #1F9B6D #2F1F9B
split-complementary
#9B1F4D #1F9B2F #1F8B9B
monochromatic
#350B1A #681534 #9B1F4D #CE2966 #DD5789
Accessibility & contrast
On white
7.79
#9B1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9B1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F4D
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F4D | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1f4d; /* rgb */ color: rgb(155, 31, 77); /* oklch */ color: oklch(46.0% 0.161 4.4);
Tailwind
colors: {
custom: {
50: '#be687e',
500: '#9b1f4d',
950: '#000000',
},
}SCSS
$custom: #9b1f4d; $custom-light: #be687e; $custom-dark: #000000;
JSON
{
"hex": "#9b1f4d",
"rgb": {
"r": 155,
"g": 31,
"b": 77
},
"hsl": {
"h": 337.742,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.46046,
"c": 0.16137,
"h": 4.4
},
"luminance": 0.08484
}Semantic roles & 50–950 ramp
primary
#9B1F4D
secondary
#55C199
accent
#EAAA3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B