#9E1E4C#9E1E4C
#9E1E4C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.165 H 5.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E4C |
|---|---|
| RGB | rgb(158, 30, 76) |
| HSL | hsl(338, 68%, 37%) |
| HSV | hsv(338, 81%, 62%) |
| CMYK | cmyk(0%, 81%, 51.9%, 38%) |
| CIE-LAB | lab(35.44, 53.60, 6.05) |
| CIE-LCH | lch(35.44, 53.94, 6.44°) |
| OKLab | oklab(46.49% 0.1639 0.0158) |
| OKLCH | oklch(46.49% 0.165 5.5) |
| XYZ | xyz(15.8708, 8.7217, 7.6838) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.38
Purple Red
#990147
ΔE00 2.81
Purplish Red
#B0054B
ΔE00 3.47
Violet Red
#A50055
ΔE00 3.64
Raspberry (survey)
#B00149
ΔE00 3.68
Cranberry
#9E003A
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E4C #1E9E70
analogous
#9E1E8C #9E1E4C #9E301E
triadic
#9E1E4C #4C9E1E #1E4C9E
tetradic
#9E1E4C #8C9E1E #1E9E70 #301E9E
square
#9E1E4C #8C9E1E #1E9E70 #301E9E
split-complementary
#9E1E4C #1E9E30 #1E8C9E
monochromatic
#370A1B #6B1433 #9E1E4C #D12865 #DF5788
Accessibility & contrast
On white
7.65
#9E1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1E4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E4C
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E4C | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1e4c; /* rgb */ color: rgb(158, 30, 76); /* oklch */ color: oklch(46.5% 0.165 5.5);
Tailwind
colors: {
custom: {
50: '#c1687d',
500: '#9e1e4c',
950: '#000000',
},
}SCSS
$custom: #9e1e4c; $custom-light: #c1687d; $custom-dark: #000000;
JSON
{
"hex": "#9e1e4c",
"rgb": {
"r": 158,
"g": 30,
"b": 76
},
"hsl": {
"h": 338.438,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.46487,
"c": 0.16465,
"h": 5.5
},
"luminance": 0.08719
}Semantic roles & 50–950 ramp
primary
#9E1E4C
secondary
#55C39B
accent
#EBAC3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B