#9F1840#9F1840
#9F1840 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.168 H 11.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1840 |
|---|---|
| RGB | rgb(159, 24, 64) |
| HSL | hsl(342, 74%, 36%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 59.7%, 37.6%) |
| CIE-LAB | lab(34.80, 54.53, 12.98) |
| CIE-LCH | lch(34.80, 56.05, 13.39°) |
| OKLab | oklab(45.95% 0.165 0.0323) |
| OKLCH | oklch(45.95% 0.168 11.1) |
| XYZ | xyz(15.5517, 8.3967, 5.6513) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.75
Raspberry (survey)
#B00149
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.74
Rouge
#AB1239
ΔE00 3.93
Red Wine
#8C0034
ΔE00 4.64
Purple Red
#990147
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1840 #189F77
analogous
#9F1883 #9F1840 #9F3318
triadic
#9F1840 #409F18 #18409F
tetradic
#9F1840 #839F18 #189F77 #33189F
square
#9F1840 #839F18 #189F77 #33189F
split-complementary
#9F1840 #189F33 #18839F
monochromatic
#350815 #6A102B #9F1840 #D42055 #E44D7A
Accessibility & contrast
On white
7.84
#9F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1840
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1840 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#635B3D
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1840; /* rgb */ color: rgb(159, 24, 64); /* oklch */ color: oklch(45.9% 0.168 11.1);
Tailwind
colors: {
custom: {
50: '#c26674',
500: '#9f1840',
950: '#000000',
},
}SCSS
$custom: #9f1840; $custom-light: #c26674; $custom-dark: #000000;
JSON
{
"hex": "#9f1840",
"rgb": {
"r": 159,
"g": 24,
"b": 64
},
"hsl": {
"h": 342.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45949,
"c": 0.16816,
"h": 11.1
},
"luminance": 0.08394
}Semantic roles & 50–950 ramp
primary
#9F1840
secondary
#4DC6A2
accent
#F0BA37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B