#9E1946#9E1946
#9E1946 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 7.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1946 |
|---|---|
| RGB | rgb(158, 25, 70) |
| HSL | hsl(340, 73%, 36%) |
| HSV | hsv(340, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 55.7%, 38%) |
| CIE-LAB | lab(34.82, 54.44, 9.07) |
| CIE-LCH | lch(34.82, 55.19, 9.46°) |
| OKLab | oklab(45.98% 0.1659 0.0231) |
| OKLCH | oklch(45.98% 0.167 7.9) |
| XYZ | xyz(15.5552, 8.4089, 6.5972) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.04
Purple Red
#990147
ΔE00 3.09
Berry
#990F4B
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.21
Purplish Red
#B0054B
ΔE00 3.22
Violet Red
#A50055
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1946 #199E71
analogous
#9E1988 #9E1946 #9E2E19
triadic
#9E1946 #469E19 #19469E
tetradic
#9E1946 #889E19 #199E71 #2E199E
square
#9E1946 #889E19 #199E71 #2E199E
split-complementary
#9E1946 #199E2E #19889E
monochromatic
#340817 #69112F #9E1946 #D3215D #E34E81
Accessibility & contrast
On white
7.83
#9E1946 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E1946 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1946
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1946 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4147
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1946; /* rgb */ color: rgb(158, 25, 70); /* oklch */ color: oklch(46.0% 0.167 7.9);
Tailwind
colors: {
custom: {
50: '#c16679',
500: '#9e1946',
950: '#000000',
},
}SCSS
$custom: #9e1946; $custom-light: #c16679; $custom-dark: #000000;
JSON
{
"hex": "#9e1946",
"rgb": {
"r": 158,
"g": 25,
"b": 70
},
"hsl": {
"h": 339.699,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.45978,
"c": 0.16747,
"h": 7.9
},
"luminance": 0.08407
}Semantic roles & 50–950 ramp
primary
#9E1946
secondary
#4EC59D
accent
#EFB138
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B