#9F1A4A#9F1A4A
#9F1A4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 6.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A4A |
|---|---|
| RGB | rgb(159, 26, 74) |
| HSL | hsl(338, 72%, 36%) |
| HSV | hsv(338, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 53.5%, 37.6%) |
| CIE-LAB | lab(35.22, 54.77, 7.05) |
| CIE-LCH | lch(35.22, 55.23, 7.33°) |
| OKLab | oklab(46.34% 0.1674 0.0183) |
| OKLCH | oklch(46.34% 0.168 6.2) |
| XYZ | xyz(15.9050, 8.6064, 7.3009) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.50
Purple Red
#990147
ΔE00 2.69
Purplish Red
#B0054B
ΔE00 3.14
Raspberry (survey)
#B00149
ΔE00 3.29
Violet Red
#A50055
ΔE00 3.85
Cranberry
#9E003A
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A4A #1A9F6F
analogous
#9F1A8D #9F1A4A #9F2D1A
triadic
#9F1A4A #4A9F1A #1A4A9F
tetradic
#9F1A4A #8D9F1A #1A9F6F #2D1A9F
square
#9F1A4A #8D9F1A #1A9F6F #2D1A9F
split-complementary
#9F1A4A #1A9F2D #1A8D9F
monochromatic
#360919 #6A1132 #9F1A4A #D42362 #E35185
Accessibility & contrast
On white
7.72
#9F1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1A4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A4A
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A4A | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1a4a; /* rgb */ color: rgb(159, 26, 74); /* oklch */ color: oklch(46.3% 0.168 6.2);
Tailwind
colors: {
custom: {
50: '#c2677c',
500: '#9f1a4a',
950: '#000000',
},
}SCSS
$custom: #9f1a4a; $custom-light: #c2677c; $custom-dark: #000000;
JSON
{
"hex": "#9f1a4a",
"rgb": {
"r": 159,
"g": 26,
"b": 74
},
"hsl": {
"h": 338.346,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.46338,
"c": 0.16836,
"h": 6.2
},
"luminance": 0.08604
}Semantic roles & 50–950 ramp
primary
#9F1A4A
secondary
#50C59B
accent
#EFAD39
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B