#9F1942#9F1942
#9F1942 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.168 H 10.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1942 |
|---|---|
| RGB | rgb(159, 25, 66) |
| HSL | hsl(342, 73%, 36%) |
| HSV | hsv(342, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 58.5%, 37.6%) |
| CIE-LAB | lab(34.93, 54.42, 11.85) |
| CIE-LCH | lch(34.93, 55.70, 12.29°) |
| OKLab | oklab(46.06% 0.1651 0.0297) |
| OKLCH | oklch(46.06% 0.168 10.2) |
| XYZ | xyz(15.6307, 8.4619, 5.9635) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.09
Raspberry (survey)
#B00149
ΔE00 3.23
Purplish Red
#B0054B
ΔE00 3.43
Purple Red
#990147
ΔE00 4.28
Rouge
#AB1239
ΔE00 4.41
Berry
#990F4B
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1942 #199F76
analogous
#9F1985 #9F1942 #9F3319
triadic
#9F1942 #429F19 #19429F
tetradic
#9F1942 #859F19 #199F76 #33199F
square
#9F1942 #859F19 #199F76 #33199F
split-complementary
#9F1942 #199F33 #19859F
monochromatic
#350816 #6A112C #9F1942 #D42158 #E34F7C
Accessibility & contrast
On white
7.80
#9F1942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1942
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1942 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404143
Deuteranopia (green-blind)
#625C3F
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1942; /* rgb */ color: rgb(159, 25, 66); /* oklch */ color: oklch(46.1% 0.168 10.2);
Tailwind
colors: {
custom: {
50: '#c26676',
500: '#9f1942',
950: '#000000',
},
}SCSS
$custom: #9f1942; $custom-light: #c26676; $custom-dark: #000000;
JSON
{
"hex": "#9f1942",
"rgb": {
"r": 159,
"g": 25,
"b": 66
},
"hsl": {
"h": 341.642,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.46061,
"c": 0.16771,
"h": 10.2
},
"luminance": 0.0846
}Semantic roles & 50–950 ramp
primary
#9F1942
secondary
#4EC6A1
accent
#F0B738
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B