#9B1840#9B1840
#9B1840 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.165 H 10.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1840 |
|---|---|
| RGB | rgb(155, 24, 64) |
| HSL | hsl(342, 73%, 35%) |
| HSV | hsv(342, 85%, 61%) |
| CMYK | cmyk(0%, 84.5%, 58.7%, 39.2%) |
| CIE-LAB | lab(33.97, 53.43, 11.71) |
| CIE-LCH | lch(33.97, 54.70, 12.37°) |
| OKLab | oklab(45.2% 0.162 0.0293) |
| OKLCH | oklch(45.2% 0.165 10.3) |
| XYZ | xyz(14.7711, 7.9942, 5.6148) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.80
Raspberry (survey)
#B00149
ΔE00 3.95
Red Wine
#8C0034
ΔE00 3.96
Purple Red
#990147
ΔE00 4.03
Purplish Red
#B0054B
ΔE00 4.15
Berry
#990F4B
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1840 #189B73
analogous
#9B1882 #9B1840 #9B3118
triadic
#9B1840 #409B18 #18409B
tetradic
#9B1840 #829B18 #189B73 #31189B
square
#9B1840 #829B18 #189B73 #31189B
split-complementary
#9B1840 #189B31 #18829B
monochromatic
#310814 #66102A #9B1840 #D02056 #E34A79
Accessibility & contrast
On white
8.08
#9B1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9B1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1840
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1840 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#60593D
Tritanopia (blue-blind)
#AA002A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9b1840; /* rgb */ color: rgb(155, 24, 64); /* oklch */ color: oklch(45.2% 0.165 10.3);
Tailwind
colors: {
custom: {
50: '#bf6574',
500: '#9b1840',
950: '#000000',
},
}SCSS
$custom: #9b1840; $custom-light: #bf6574; $custom-dark: #000000;
JSON
{
"hex": "#9b1840",
"rgb": {
"r": 155,
"g": 24,
"b": 64
},
"hsl": {
"h": 341.679,
"s": 73.184,
"l": 35.098
},
"oklch": {
"l": 0.45197,
"c": 0.16464,
"h": 10.3
},
"luminance": 0.07992
}Semantic roles & 50–950 ramp
primary
#9B1840
secondary
#4AC59F
accent
#F0B838
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B