#9F1F52#9F1F52
#9F1F52 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.166 H 2.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F52 |
|---|---|
| RGB | rgb(159, 31, 82) |
| HSL | hsl(336, 67%, 37%) |
| HSV | hsv(336, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 48.4%, 37.6%) |
| CIE-LAB | lab(35.91, 54.11, 2.86) |
| CIE-LCH | lch(35.91, 54.18, 3.03°) |
| OKLab | oklab(46.92% 0.166 0.0079) |
| OKLCH | oklch(46.92% 0.166 2.7) |
| XYZ | xyz(16.3124, 8.9623, 8.8519) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.28
Violet Red
#A50055
ΔE00 2.46
Purple Red
#990147
ΔE00 3.15
Dark Fuchsia
#9D0759
ΔE00 3.96
Mulberry
#920A4E
ΔE00 4.07
Purplish Red
#B0054B
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F52 #1F9F6C
analogous
#9F1F92 #9F1F52 #9F2C1F
triadic
#9F1F52 #529F1F #1F529F
tetradic
#9F1F52 #929F1F #1F9F6C #2C1F9F
square
#9F1F52 #929F1F #1F9F6C #2C1F9F
split-complementary
#9F1F52 #1F9F2C #1F929F
monochromatic
#390B1D #6C1538 #9F1F52 #D2296C #DF5A8F
Accessibility & contrast
On white
7.52
#9F1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9F1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F52
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F52 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1f52; /* rgb */ color: rgb(159, 31, 82); /* oklch */ color: oklch(46.9% 0.166 2.7);
Tailwind
colors: {
custom: {
50: '#c16982',
500: '#9f1f52',
950: '#000000',
},
}SCSS
$custom: #9f1f52; $custom-light: #c16982; $custom-dark: #000000;
JSON
{
"hex": "#9f1f52",
"rgb": {
"r": 159,
"g": 31,
"b": 82
},
"hsl": {
"h": 336.094,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46923,
"c": 0.16617,
"h": 2.7
},
"luminance": 0.0896
}Semantic roles & 50–950 ramp
primary
#9F1F52
secondary
#57C398
accent
#EAA53E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C