#9F1C48#9F1C48
#9F1C48 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.166 H 7.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1C48 |
|---|---|
| RGB | rgb(159, 28, 72) |
| HSL | hsl(340, 70%, 37%) |
| HSV | hsv(340, 82%, 62%) |
| CMYK | cmyk(0%, 82.4%, 54.7%, 37.6%) |
| CIE-LAB | lab(35.34, 54.10, 8.53) |
| CIE-LCH | lch(35.34, 54.77, 8.96°) |
| OKLab | oklab(46.42% 0.1649 0.0219) |
| OKLCH | oklch(46.42% 0.166 7.6) |
| XYZ | xyz(15.8846, 8.6716, 6.9670) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.02
Raspberry (survey)
#B00149
ΔE00 3.07
Berry
#990F4B
ΔE00 3.20
Purple Red
#990147
ΔE00 3.25
Cranberry
#9E003A
ΔE00 3.49
Violet Red
#A50055
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1C48 #1C9F73
analogous
#9F1C8A #9F1C48 #9F321C
triadic
#9F1C48 #489F1C #1C489F
tetradic
#9F1C48 #8A9F1C #1C9F73 #321C9F
square
#9F1C48 #8A9F1C #1C9F73 #321C9F
split-complementary
#9F1C48 #1C9F32 #1C8A9F
monochromatic
#370A19 #6B1330 #9F1C48 #D32560 #E15484
Accessibility & contrast
On white
7.68
#9F1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1C48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1C48
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1C48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1C48 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1c48; /* rgb */ color: rgb(159, 28, 72); /* oklch */ color: oklch(46.4% 0.166 7.6);
Tailwind
colors: {
custom: {
50: '#c2687a',
500: '#9f1c48',
950: '#000000',
},
}SCSS
$custom: #9f1c48; $custom-light: #c2687a; $custom-dark: #000000;
JSON
{
"hex": "#9f1c48",
"rgb": {
"r": 159,
"g": 28,
"b": 72
},
"hsl": {
"h": 339.847,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.46416,
"c": 0.16636,
"h": 7.6
},
"luminance": 0.08669
}Semantic roles & 50–950 ramp
primary
#9F1C48
secondary
#53C49E
accent
#EDB13B
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B