#9E1F4D#9E1F4D
#9E1F4D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 5.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F4D |
|---|---|
| RGB | rgb(158, 31, 77) |
| HSL | hsl(338, 67%, 37%) |
| HSV | hsv(338, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 51.3%, 38%) |
| CIE-LAB | lab(35.57, 53.39, 5.58) |
| CIE-LCH | lch(35.57, 53.68, 5.97°) |
| OKLab | oklab(46.59% 0.1633 0.0147) |
| OKLCH | oklch(46.59% 0.164 5.1) |
| XYZ | xyz(15.9315, 8.7871, 7.8769) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.36
Purple Red
#990147
ΔE00 2.88
Violet Red
#A50055
ΔE00 3.50
Purplish Red
#B0054B
ΔE00 3.57
Raspberry (survey)
#B00149
ΔE00 3.81
Mulberry
#920A4E
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F4D #1F9E70
analogous
#9E1F8D #9E1F4D #9E311F
triadic
#9E1F4D #4D9E1F #1F4D9E
tetradic
#9E1F4D #8D9E1F #1F9E70 #311F9E
square
#9E1F4D #8D9E1F #1F9E70 #311F9E
split-complementary
#9E1F4D #1F9E31 #1F8D9E
monochromatic
#380B1B #6B1534 #9E1F4D #D12966 #DE5989
Accessibility & contrast
On white
7.62
#9E1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F4D
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F4D | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#615D4A
Tritanopia (blue-blind)
#AC0033
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e1f4d; /* rgb */ color: rgb(158, 31, 77); /* oklch */ color: oklch(46.6% 0.164 5.1);
Tailwind
colors: {
custom: {
50: '#c1697e',
500: '#9e1f4d',
950: '#000000',
},
}SCSS
$custom: #9e1f4d; $custom-light: #c1697e; $custom-dark: #000000;
JSON
{
"hex": "#9e1f4d",
"rgb": {
"r": 158,
"g": 31,
"b": 77
},
"hsl": {
"h": 338.268,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46591,
"c": 0.164,
"h": 5.1
},
"luminance": 0.08785
}Semantic roles & 50–950 ramp
primary
#9E1F4D
secondary
#56C29B
accent
#EAAC3E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B