#9F1841#9F1841
#9F1841 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 10.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1841 |
|---|---|
| RGB | rgb(159, 24, 65) |
| HSL | hsl(342, 74%, 36%) |
| HSV | hsv(342, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 59.1%, 37.6%) |
| CIE-LAB | lab(34.82, 54.60, 12.36) |
| CIE-LCH | lch(34.82, 55.98, 12.75°) |
| OKLab | oklab(45.97% 0.1654 0.0308) |
| OKLCH | oklch(45.97% 0.168 10.6) |
| XYZ | xyz(15.5804, 8.4082, 5.8026) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.88
Raspberry (survey)
#B00149
ΔE00 3.32
Purplish Red
#B0054B
ΔE00 3.56
Rouge
#AB1239
ΔE00 4.21
Purple Red
#990147
ΔE00 4.44
Red Wine
#8C0034
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1841 #189F76
analogous
#9F1884 #9F1841 #9F3318
triadic
#9F1841 #419F18 #18419F
tetradic
#9F1841 #849F18 #189F76 #33189F
square
#9F1841 #849F18 #189F76 #33189F
split-complementary
#9F1841 #189F33 #18849F
monochromatic
#350816 #6A102B #9F1841 #D42057 #E44D7B
Accessibility & contrast
On white
7.83
#9F1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1841
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1841 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404142
Deuteranopia (green-blind)
#625B3E
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1841; /* rgb */ color: rgb(159, 24, 65); /* oklch */ color: oklch(46.0% 0.168 10.6);
Tailwind
colors: {
custom: {
50: '#c26675',
500: '#9f1841',
950: '#000000',
},
}SCSS
$custom: #9f1841; $custom-light: #c26675; $custom-dark: #000000;
JSON
{
"hex": "#9f1841",
"rgb": {
"r": 159,
"g": 24,
"b": 65
},
"hsl": {
"h": 341.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45974,
"c": 0.16829,
"h": 10.6
},
"luminance": 0.08406
}Semantic roles & 50–950 ramp
primary
#9F1841
secondary
#4DC6A1
accent
#F0B837
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B