#9F1A47#9F1A47
#9F1A47 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 7.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A47 |
|---|---|
| RGB | rgb(159, 26, 71) |
| HSL | hsl(340, 72%, 36%) |
| HSV | hsv(340, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 55.3%, 37.6%) |
| CIE-LAB | lab(35.14, 54.54, 8.89) |
| CIE-LCH | lch(35.14, 55.26, 9.26°) |
| OKLab | oklab(46.26% 0.1662 0.0227) |
| OKLCH | oklch(46.26% 0.168 7.8) |
| XYZ | xyz(15.8063, 8.5670, 6.7813) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.02
Raspberry (survey)
#B00149
ΔE00 3.04
Purple Red
#990147
ΔE00 3.19
Berry
#990F4B
ΔE00 3.23
Cranberry
#9E003A
ΔE00 3.24
Violet Red
#A50055
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A47 #1A9F72
analogous
#9F1A8A #9F1A47 #9F301A
triadic
#9F1A47 #479F1A #1A479F
tetradic
#9F1A47 #8A9F1A #1A9F72 #301A9F
square
#9F1A47 #8A9F1A #1A9F72 #301A9F
split-complementary
#9F1A47 #1A9F30 #1A8A9F
monochromatic
#360918 #6A1130 #9F1A47 #D4235E #E35182
Accessibility & contrast
On white
7.74
#9F1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9F1A47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A47
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A47 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1a47; /* rgb */ color: rgb(159, 26, 71); /* oklch */ color: oklch(46.3% 0.168 7.8);
Tailwind
colors: {
custom: {
50: '#c26779',
500: '#9f1a47',
950: '#000000',
},
}SCSS
$custom: #9f1a47; $custom-light: #c26779; $custom-dark: #000000;
JSON
{
"hex": "#9f1a47",
"rgb": {
"r": 159,
"g": 26,
"b": 71
},
"hsl": {
"h": 339.699,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.46255,
"c": 0.16775,
"h": 7.8
},
"luminance": 0.08565
}Semantic roles & 50–950 ramp
primary
#9F1A47
secondary
#50C59D
accent
#EFB139
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B