#9F1F4D#9F1F4D
#9F1F4D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 5.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F4D |
|---|---|
| RGB | rgb(159, 31, 77) |
| HSL | hsl(338, 67%, 37%) |
| HSV | hsv(338, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 51.6%, 37.6%) |
| CIE-LAB | lab(35.77, 53.67, 5.89) |
| CIE-LCH | lch(35.77, 53.99, 6.26°) |
| OKLab | oklab(46.77% 0.1641 0.0155) |
| OKLCH | oklch(46.77% 0.165 5.4) |
| XYZ | xyz(16.1291, 8.8890, 7.8862) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.55
Purple Red
#990147
ΔE00 3.03
Purplish Red
#B0054B
ΔE00 3.36
Violet Red
#A50055
ΔE00 3.58
Raspberry (survey)
#B00149
ΔE00 3.60
Cranberry
#9E003A
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F4D #1F9F71
analogous
#9F1F8D #9F1F4D #9F311F
triadic
#9F1F4D #4D9F1F #1F4D9F
tetradic
#9F1F4D #8D9F1F #1F9F71 #311F9F
square
#9F1F4D #8D9F1F #1F9F71 #311F9F
split-complementary
#9F1F4D #1F9F31 #1F8D9F
monochromatic
#390B1B #6C1534 #9F1F4D #D22966 #DF5A89
Accessibility & contrast
On white
7.56
#9F1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F4D
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F4D | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1f4d; /* rgb */ color: rgb(159, 31, 77); /* oklch */ color: oklch(46.8% 0.165 5.4);
Tailwind
colors: {
custom: {
50: '#c1697e',
500: '#9f1f4d',
950: '#000000',
},
}SCSS
$custom: #9f1f4d; $custom-light: #c1697e; $custom-dark: #000000;
JSON
{
"hex": "#9f1f4d",
"rgb": {
"r": 159,
"g": 31,
"b": 77
},
"hsl": {
"h": 338.438,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46772,
"c": 0.16487,
"h": 5.4
},
"luminance": 0.08887
}Semantic roles & 50–950 ramp
primary
#9F1F4D
secondary
#57C39C
accent
#EAAC3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B