#9E1F4E#9E1F4E
#9E1F4E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 4.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F4E |
|---|---|
| RGB | rgb(158, 31, 78) |
| HSL | hsl(338, 67%, 37%) |
| HSV | hsv(338, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 50.6%, 38%) |
| CIE-LAB | lab(35.60, 53.48, 4.97) |
| CIE-LCH | lch(35.60, 53.71, 5.31°) |
| OKLab | oklab(46.62% 0.1637 0.0132) |
| OKLCH | oklch(46.62% 0.164 4.6) |
| XYZ | xyz(15.9671, 8.8014, 8.0643) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.24
Purple Red
#990147
ΔE00 2.85
Violet Red
#A50055
ΔE00 3.25
Purplish Red
#B0054B
ΔE00 3.71
Raspberry (survey)
#B00149
ΔE00 3.98
Mulberry
#920A4E
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F4E #1F9E6F
analogous
#9E1F8E #9E1F4E #9E2F1F
triadic
#9E1F4E #4E9E1F #1F4E9E
tetradic
#9E1F4E #8E9E1F #1F9E6F #2F1F9E
square
#9E1F4E #8E9E1F #1F9E6F #2F1F9E
split-complementary
#9E1F4E #1F9E2F #1F8E9E
monochromatic
#380B1B #6B1535 #9E1F4E #D12967 #DE598A
Accessibility & contrast
On white
7.61
#9E1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F4E
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F4E | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#615D4B
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e1f4e; /* rgb */ color: rgb(158, 31, 78); /* oklch */ color: oklch(46.6% 0.164 4.6);
Tailwind
colors: {
custom: {
50: '#c1697f',
500: '#9e1f4e',
950: '#000000',
},
}SCSS
$custom: #9e1f4e; $custom-light: #c1697f; $custom-dark: #000000;
JSON
{
"hex": "#9e1f4e",
"rgb": {
"r": 158,
"g": 31,
"b": 78
},
"hsl": {
"h": 337.795,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.4662,
"c": 0.16424,
"h": 4.6
},
"luminance": 0.08799
}Semantic roles & 50–950 ramp
primary
#9E1F4E
secondary
#56C29A
accent
#EAAA3E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C