#9B1F40#9B1F40
#9B1F40 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.159 H 11.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F40 |
|---|---|
| RGB | rgb(155, 31, 64) |
| HSL | hsl(344, 67%, 36%) |
| HSV | hsv(344, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 58.7%, 39.2%) |
| CIE-LAB | lab(34.64, 51.52, 12.63) |
| CIE-LCH | lch(34.64, 53.05, 13.78°) |
| OKLab | oklab(45.69% 0.1558 0.0315) |
| OKLCH | oklch(45.69% 0.159 11.4) |
| XYZ | xyz(14.9345, 8.3209, 5.6692) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.26
Raspberry (survey)
#B00149
ΔE00 4.21
Rouge
#AB1239
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.43
Red Wine
#8C0034
ΔE00 4.52
Purple Red
#990147
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F40 #1F9B7A
analogous
#9B1F7E #9B1F40 #9B3C1F
triadic
#9B1F40 #409B1F #1F409B
tetradic
#9B1F40 #7E9B1F #1F9B7A #3C1F9B
square
#9B1F40 #7E9B1F #1F9B7A #3C1F9B
split-complementary
#9B1F40 #1F9B3C #1F7E9B
monochromatic
#350B16 #68152B #9B1F40 #CE2955 #DD577B
Accessibility & contrast
On white
7.88
#9B1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9B1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F40
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F40 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424140
Deuteranopia (green-blind)
#615B3D
Tritanopia (blue-blind)
#AA002D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1f40; /* rgb */ color: rgb(155, 31, 64); /* oklch */ color: oklch(45.7% 0.159 11.4);
Tailwind
colors: {
custom: {
50: '#bf6874',
500: '#9b1f40',
950: '#000000',
},
}SCSS
$custom: #9b1f40; $custom-light: #bf6874; $custom-dark: #000000;
JSON
{
"hex": "#9b1f40",
"rgb": {
"r": 155,
"g": 31,
"b": 64
},
"hsl": {
"h": 344.032,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.45692,
"c": 0.15899,
"h": 11.4
},
"luminance": 0.08319
}Semantic roles & 50–950 ramp
primary
#9B1F40
secondary
#55C1A4
accent
#EABC3E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B