#9F1F4A#9F1F4A
#9F1F4A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 7.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F4A |
|---|---|
| RGB | rgb(159, 31, 74) |
| HSL | hsl(340, 67%, 37%) |
| HSV | hsv(340, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 53.5%, 37.6%) |
| CIE-LAB | lab(35.69, 53.43, 7.72) |
| CIE-LCH | lch(35.69, 53.98, 8.22°) |
| OKLab | oklab(46.69% 0.163 0.0199) |
| OKLCH | oklch(46.69% 0.164 7) |
| XYZ | xyz(16.0256, 8.8476, 7.3411) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.09
Berry
#990F4B
ΔE00 3.11
Raspberry (survey)
#B00149
ΔE00 3.21
Purple Red
#990147
ΔE00 3.32
Cranberry
#9E003A
ΔE00 4.00
Violet Red
#A50055
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F4A #1F9F74
analogous
#9F1F8A #9F1F4A #9F341F
triadic
#9F1F4A #4A9F1F #1F4A9F
tetradic
#9F1F4A #8A9F1F #1F9F74 #341F9F
square
#9F1F4A #8A9F1F #1F9F74 #341F9F
split-complementary
#9F1F4A #1F9F34 #1F8A9F
monochromatic
#390B1A #6C1532 #9F1F4A #D22962 #DF5A86
Accessibility & contrast
On white
7.58
#9F1F4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F1F4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F4A
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F4A | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41444B
Deuteranopia (green-blind)
#635D47
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1f4a; /* rgb */ color: rgb(159, 31, 74); /* oklch */ color: oklch(46.7% 0.164 7.0);
Tailwind
colors: {
custom: {
50: '#c2697c',
500: '#9f1f4a',
950: '#000000',
},
}SCSS
$custom: #9f1f4a; $custom-light: #c2697c; $custom-dark: #000000;
JSON
{
"hex": "#9f1f4a",
"rgb": {
"r": 159,
"g": 31,
"b": 74
},
"hsl": {
"h": 339.844,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46687,
"c": 0.16421,
"h": 7
},
"luminance": 0.08845
}Semantic roles & 50–950 ramp
primary
#9F1F4A
secondary
#57C39F
accent
#EAB03E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B