#9F1842#9F1842
#9F1842 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 10.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1842 |
|---|---|
| RGB | rgb(159, 24, 66) |
| HSL | hsl(341, 74%, 36%) |
| HSV | hsv(341, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 58.5%, 37.6%) |
| CIE-LAB | lab(34.84, 54.67, 11.74) |
| CIE-LCH | lch(34.84, 55.91, 12.12°) |
| OKLab | oklab(46% 0.1658 0.0294) |
| OKLCH | oklch(46% 0.168 10.1) |
| XYZ | xyz(15.6097, 8.4199, 5.9565) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.05
Raspberry (survey)
#B00149
ΔE00 3.20
Purplish Red
#B0054B
ΔE00 3.40
Purple Red
#990147
ΔE00 4.17
Berry
#990F4B
ΔE00 4.45
Rouge
#AB1239
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1842 #189F75
analogous
#9F1885 #9F1842 #9F3118
triadic
#9F1842 #429F18 #18429F
tetradic
#9F1842 #859F18 #189F75 #31189F
square
#9F1842 #859F18 #189F75 #31189F
split-complementary
#9F1842 #189F31 #18859F
monochromatic
#350816 #6A102C #9F1842 #D42058 #E44D7C
Accessibility & contrast
On white
7.83
#9F1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1842
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1842 | 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)
#404143
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1842; /* rgb */ color: rgb(159, 24, 66); /* oklch */ color: oklch(46.0% 0.168 10.1);
Tailwind
colors: {
custom: {
50: '#c26676',
500: '#9f1842',
950: '#000000',
},
}SCSS
$custom: #9f1842; $custom-light: #c26676; $custom-dark: #000000;
JSON
{
"hex": "#9f1842",
"rgb": {
"r": 159,
"g": 24,
"b": 66
},
"hsl": {
"h": 341.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45999,
"c": 0.16843,
"h": 10.1
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#9F1842
secondary
#4DC6A0
accent
#F0B737
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B