#9E1F4F#9E1F4F
#9E1F4F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 4.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F4F |
|---|---|
| RGB | rgb(158, 31, 79) |
| HSL | hsl(337, 67%, 37%) |
| HSV | hsv(337, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 50%, 38%) |
| CIE-LAB | lab(35.63, 53.56, 4.37) |
| CIE-LCH | lch(35.63, 53.74, 4.66°) |
| OKLab | oklab(46.65% 0.1641 0.0117) |
| OKLCH | oklch(46.65% 0.164 4.1) |
| XYZ | xyz(16.0032, 8.8158, 8.2546) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.15
Purple Red
#990147
ΔE00 2.86
Violet Red
#A50055
ΔE00 3.02
Purplish Red
#B0054B
ΔE00 3.88
Raspberry (survey)
#B00149
ΔE00 4.16
Mulberry
#920A4E
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F4F #1F9E6E
analogous
#9E1F8F #9E1F4F #9E2F1F
triadic
#9E1F4F #4F9E1F #1F4F9E
tetradic
#9E1F4F #8F9E1F #1F9E6E #2F1F9E
square
#9E1F4F #8F9E1F #1F9E6E #2F1F9E
split-complementary
#9E1F4F #1F9E2F #1F8F9E
monochromatic
#380B1C #6B1535 #9E1F4F #D12969 #DE598B
Accessibility & contrast
On white
7.60
#9E1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E1F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F4F
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F4F | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e1f4f; /* rgb */ color: rgb(158, 31, 79); /* oklch */ color: oklch(46.7% 0.164 4.1);
Tailwind
colors: {
custom: {
50: '#c06980',
500: '#9e1f4f',
950: '#000000',
},
}SCSS
$custom: #9e1f4f; $custom-light: #c06980; $custom-dark: #000000;
JSON
{
"hex": "#9e1f4f",
"rgb": {
"r": 158,
"g": 31,
"b": 79
},
"hsl": {
"h": 337.323,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.4665,
"c": 0.16449,
"h": 4.1
},
"luminance": 0.08814
}Semantic roles & 50–950 ramp
primary
#9E1F4F
secondary
#56C29A
accent
#EAA93E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C