#9B1940#9B1940
#9B1940 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.164 H 10.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1940 |
|---|---|
| RGB | rgb(155, 25, 64) |
| HSL | hsl(342, 72%, 35%) |
| HSV | hsv(342, 84%, 61%) |
| CMYK | cmyk(0%, 83.9%, 58.7%, 39.2%) |
| CIE-LAB | lab(34.06, 53.18, 11.83) |
| CIE-LCH | lch(34.06, 54.48, 12.55°) |
| OKLab | oklab(45.26% 0.1612 0.0296) |
| OKLCH | oklch(45.26% 0.164 10.4) |
| XYZ | xyz(14.7921, 8.0362, 5.6217) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.84
Raspberry (survey)
#B00149
ΔE00 3.97
Red Wine
#8C0034
ΔE00 4.02
Purple Red
#990147
ΔE00 4.15
Purplish Red
#B0054B
ΔE00 4.17
Berry
#990F4B
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1940 #199B74
analogous
#9B1981 #9B1940 #9B3319
triadic
#9B1940 #409B19 #19409B
tetradic
#9B1940 #819B19 #199B74 #33199B
square
#9B1940 #819B19 #199B74 #33199B
split-complementary
#9B1940 #199B33 #19819B
monochromatic
#320814 #66112A #9B1940 #D02256 #E24C79
Accessibility & contrast
On white
8.06
#9B1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#9B1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1940
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1940 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#60593D
Tritanopia (blue-blind)
#AA002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9b1940; /* rgb */ color: rgb(155, 25, 64); /* oklch */ color: oklch(45.3% 0.164 10.4);
Tailwind
colors: {
custom: {
50: '#bf6674',
500: '#9b1940',
950: '#000000',
},
}SCSS
$custom: #9b1940; $custom-light: #bf6674; $custom-dark: #000000;
JSON
{
"hex": "#9b1940",
"rgb": {
"r": 155,
"g": 25,
"b": 64
},
"hsl": {
"h": 342,
"s": 72.222,
"l": 35.294
},
"oklch": {
"l": 0.45261,
"c": 0.1639,
"h": 10.4
},
"luminance": 0.08034
}Semantic roles & 50–950 ramp
primary
#9B1940
secondary
#4CC4A0
accent
#EFB839
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B