#9F1740#9F1740
#9F1740 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.169 H 10.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1740 |
|---|---|
| RGB | rgb(159, 23, 64) |
| HSL | hsl(342, 75%, 36%) |
| HSV | hsv(342, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 59.7%, 37.6%) |
| CIE-LAB | lab(34.71, 54.76, 12.86) |
| CIE-LCH | lch(34.71, 56.25, 13.22°) |
| OKLab | oklab(45.89% 0.1658 0.032) |
| OKLCH | oklch(45.89% 0.169 10.9) |
| XYZ | xyz(15.5315, 8.3562, 5.6446) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.69
Raspberry (survey)
#B00149
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 3.70
Rouge
#AB1239
ΔE00 4.01
Red Wine
#8C0034
ΔE00 4.57
Purple Red
#990147
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1740 #179F76
analogous
#9F1784 #9F1740 #9F3217
triadic
#9F1740 #409F17 #17409F
tetradic
#9F1740 #849F17 #179F76 #32179F
square
#9F1740 #849F17 #179F76 #32179F
split-complementary
#9F1740 #179F32 #17849F
monochromatic
#340815 #6A0F2A #9F1740 #D41F56 #E54B7A
Accessibility & contrast
On white
7.86
#9F1740 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F1740 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1740
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1740 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404041
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1740; /* rgb */ color: rgb(159, 23, 64); /* oklch */ color: oklch(45.9% 0.169 10.9);
Tailwind
colors: {
custom: {
50: '#c26674',
500: '#9f1740',
950: '#000000',
},
}SCSS
$custom: #9f1740; $custom-light: #c26674; $custom-dark: #000000;
JSON
{
"hex": "#9f1740",
"rgb": {
"r": 159,
"g": 23,
"b": 64
},
"hsl": {
"h": 341.912,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.45889,
"c": 0.16886,
"h": 10.9
},
"luminance": 0.08354
}Semantic roles & 50–950 ramp
primary
#9F1740
secondary
#4BC7A1
accent
#F1B936
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B