#9D1840#9D1840
#9D1840 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 10.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1840 |
|---|---|
| RGB | rgb(157, 24, 64) |
| HSL | hsl(342, 73%, 35%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 84.7%, 59.2%, 38.4%) |
| CIE-LAB | lab(34.38, 53.98, 12.35) |
| CIE-LCH | lch(34.38, 55.37, 12.88°) |
| OKLab | oklab(45.57% 0.1635 0.0308) |
| OKLCH | oklch(45.57% 0.166 10.7) |
| XYZ | xyz(15.1582, 8.1938, 5.6329) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.71
Raspberry (survey)
#B00149
ΔE00 3.69
Purplish Red
#B0054B
ΔE00 3.92
Red Wine
#8C0034
ΔE00 4.28
Rouge
#AB1239
ΔE00 4.36
Purple Red
#990147
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1840 #189D75
analogous
#9D1882 #9D1840 #9D3218
triadic
#9D1840 #409D18 #18409D
tetradic
#9D1840 #829D18 #189D75 #32189D
square
#9D1840 #829D18 #189D75 #32189D
split-complementary
#9D1840 #189D32 #18829D
monochromatic
#330815 #68102A #9D1840 #D22056 #E44C79
Accessibility & contrast
On white
7.96
#9D1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9D1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1840
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1840 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4041
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#AC002A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1840; /* rgb */ color: rgb(157, 24, 64); /* oklch */ color: oklch(45.6% 0.166 10.7);
Tailwind
colors: {
custom: {
50: '#c16674',
500: '#9d1840',
950: '#000000',
},
}SCSS
$custom: #9d1840; $custom-light: #c16674; $custom-dark: #000000;
JSON
{
"hex": "#9d1840",
"rgb": {
"r": 157,
"g": 24,
"b": 64
},
"hsl": {
"h": 341.955,
"s": 73.481,
"l": 35.49
},
"oklch": {
"l": 0.45573,
"c": 0.1664,
"h": 10.7
},
"luminance": 0.08192
}Semantic roles & 50–950 ramp
primary
#9D1840
secondary
#4BC5A1
accent
#F0B938
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B