#9E1F4B#9E1F4B
#9E1F4B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.164 H 6.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F4B |
|---|---|
| RGB | rgb(158, 31, 75) |
| HSL | hsl(339, 67%, 37%) |
| HSV | hsv(339, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 52.5%, 38%) |
| CIE-LAB | lab(35.52, 53.23, 6.80) |
| CIE-LCH | lch(35.52, 53.66, 7.28°) |
| OKLab | oklab(46.53% 0.1626 0.0177) |
| OKLCH | oklch(46.53% 0.164 6.2) |
| XYZ | xyz(15.8620, 8.7593, 7.5107) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.70
Purple Red
#990147
ΔE00 3.03
Purplish Red
#B0054B
ΔE00 3.35
Raspberry (survey)
#B00149
ΔE00 3.52
Violet Red
#A50055
ΔE00 4.03
Cranberry
#9E003A
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F4B #1F9E72
analogous
#9E1F8A #9E1F4B #9E331F
triadic
#9E1F4B #4B9E1F #1F4B9E
tetradic
#9E1F4B #8A9E1F #1F9E72 #331F9E
square
#9E1F4B #8A9E1F #1F9E72 #331F9E
split-complementary
#9E1F4B #1F9E33 #1F8A9E
monochromatic
#380B1A #6B1533 #9E1F4B #D12963 #DE5987
Accessibility & contrast
On white
7.63
#9E1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E1F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F4B
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F4B | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41434C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1f4b; /* rgb */ color: rgb(158, 31, 75); /* oklch */ color: oklch(46.5% 0.164 6.2);
Tailwind
colors: {
custom: {
50: '#c1697d',
500: '#9e1f4b',
950: '#000000',
},
}SCSS
$custom: #9e1f4b; $custom-light: #c1697d; $custom-dark: #000000;
JSON
{
"hex": "#9e1f4b",
"rgb": {
"r": 158,
"g": 31,
"b": 75
},
"hsl": {
"h": 339.213,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.46533,
"c": 0.16354,
"h": 6.2
},
"luminance": 0.08757
}Semantic roles & 50–950 ramp
primary
#9E1F4B
secondary
#56C29D
accent
#EAAE3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B