#9F1742#9F1742
#9F1742 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.169 H 9.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1742 |
|---|---|
| RGB | rgb(159, 23, 66) |
| HSL | hsl(341, 75%, 36%) |
| HSV | hsv(341, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 58.5%, 37.6%) |
| CIE-LAB | lab(34.76, 54.90, 11.62) |
| CIE-LCH | lch(34.76, 56.12, 11.96°) |
| OKLab | oklab(45.94% 0.1666 0.0291) |
| OKLCH | oklch(45.94% 0.169 9.9) |
| XYZ | xyz(15.5894, 8.3794, 5.9497) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.02
Raspberry (survey)
#B00149
ΔE00 3.18
Purplish Red
#B0054B
ΔE00 3.38
Purple Red
#990147
ΔE00 4.06
Berry
#990F4B
ΔE00 4.36
Rouge
#AB1239
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1742 #179F74
analogous
#9F1786 #9F1742 #9F3017
triadic
#9F1742 #429F17 #17429F
tetradic
#9F1742 #869F17 #179F74 #30179F
square
#9F1742 #869F17 #179F74 #30179F
split-complementary
#9F1742 #179F30 #17869F
monochromatic
#340816 #6A0F2C #9F1742 #D41F58 #E54B7C
Accessibility & contrast
On white
7.85
#9F1742 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1742 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1742
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1742 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404043
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1742; /* rgb */ color: rgb(159, 23, 66); /* oklch */ color: oklch(45.9% 0.169 9.9);
Tailwind
colors: {
custom: {
50: '#c26676',
500: '#9f1742',
950: '#000000',
},
}SCSS
$custom: #9f1742; $custom-light: #c26676; $custom-dark: #000000;
JSON
{
"hex": "#9f1742",
"rgb": {
"r": 159,
"g": 23,
"b": 66
},
"hsl": {
"h": 341.029,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.45939,
"c": 0.16912,
"h": 9.9
},
"luminance": 0.08377
}Semantic roles & 50–950 ramp
primary
#9F1742
secondary
#4BC7A0
accent
#F1B636
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B