#9D1841#9D1841
#9D1841 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 10.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1841 |
|---|---|
| RGB | rgb(157, 24, 65) |
| HSL | hsl(342, 73%, 35%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 84.7%, 58.6%, 38.4%) |
| CIE-LAB | lab(34.41, 54.05, 11.72) |
| CIE-LCH | lch(34.41, 55.31, 12.24°) |
| OKLab | oklab(45.6% 0.1639 0.0294) |
| OKLCH | oklch(45.6% 0.167 10.2) |
| XYZ | xyz(15.1869, 8.2053, 5.7841) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.89
Raspberry (survey)
#B00149
ΔE00 3.57
Purplish Red
#B0054B
ΔE00 3.77
Purple Red
#990147
ΔE00 4.08
Red Wine
#8C0034
ΔE00 4.32
Berry
#990F4B
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1841 #189D74
analogous
#9D1883 #9D1841 #9D3218
triadic
#9D1841 #419D18 #18419D
tetradic
#9D1841 #839D18 #189D74 #32189D
square
#9D1841 #839D18 #189D74 #32189D
split-complementary
#9D1841 #189D32 #18839D
monochromatic
#330815 #68102B #9D1841 #D22057 #E44C7B
Accessibility & contrast
On white
7.95
#9D1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9D1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1841
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1841 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#615A3E
Tritanopia (blue-blind)
#AC002B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1841; /* rgb */ color: rgb(157, 24, 65); /* oklch */ color: oklch(45.6% 0.167 10.2);
Tailwind
colors: {
custom: {
50: '#c16675',
500: '#9d1841',
950: '#000000',
},
}SCSS
$custom: #9d1841; $custom-light: #c16675; $custom-dark: #000000;
JSON
{
"hex": "#9d1841",
"rgb": {
"r": 157,
"g": 24,
"b": 65
},
"hsl": {
"h": 341.504,
"s": 73.481,
"l": 35.49
},
"oklch": {
"l": 0.45598,
"c": 0.16654,
"h": 10.2
},
"luminance": 0.08203
}Semantic roles & 50–950 ramp
primary
#9D1841
secondary
#4BC5A0
accent
#F0B738
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B