#9E2046#9E2046
#9E2046 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.162 H 9.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2046 |
|---|---|
| RGB | rgb(158, 32, 70) |
| HSL | hsl(342, 66%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 79.7%, 55.7%, 38%) |
| CIE-LAB | lab(35.49, 52.53, 10.00) |
| CIE-LCH | lch(35.49, 53.48, 10.78°) |
| OKLab | oklab(46.47% 0.1597 0.0254) |
| OKLCH | oklch(46.47% 0.162 9) |
| XYZ | xyz(15.7241, 8.7466, 6.6535) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 3.29
Purplish Red
#B0054B
ΔE00 3.34
Purple Red
#990147
ΔE00 4.04
Berry
#990F4B
ΔE00 4.05
Rouge
#AB1239
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2046 #209E78
analogous
#9E2085 #9E2046 #9E3920
triadic
#9E2046 #469E20 #20469E
tetradic
#9E2046 #859E20 #209E78 #39209E
square
#9E2046 #859E20 #209E78 #39209E
split-complementary
#9E2046 #209E39 #20859E
monochromatic
#380B19 #6B162F #9E2046 #D12A5D #DE5B82
Accessibility & contrast
On white
7.64
#9E2046 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E2046 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2046
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2046 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424347
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e2046; /* rgb */ color: rgb(158, 32, 70); /* oklch */ color: oklch(46.5% 0.162 9.0);
Tailwind
colors: {
custom: {
50: '#c16979',
500: '#9e2046',
950: '#000000',
},
}SCSS
$custom: #9e2046; $custom-light: #c16979; $custom-dark: #000000;
JSON
{
"hex": "#9e2046",
"rgb": {
"r": 158,
"g": 32,
"b": 70
},
"hsl": {
"h": 341.905,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.46472,
"c": 0.1617,
"h": 9
},
"luminance": 0.08744
}Semantic roles & 50–950 ramp
primary
#9E2046
secondary
#58C2A2
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130709
muted
#827A7B