#9E2045#9E2045
#9E2045 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 9.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2045 |
|---|---|
| RGB | rgb(158, 32, 69) |
| HSL | hsl(342, 66%, 37%) |
| HSV | hsv(342, 80%, 62%) |
| CMYK | cmyk(0%, 79.7%, 56.3%, 38%) |
| CIE-LAB | lab(35.47, 52.46, 10.62) |
| CIE-LCH | lch(35.47, 53.52, 11.44°) |
| OKLab | oklab(46.45% 0.1593 0.0268) |
| OKLCH | oklch(46.45% 0.162 9.6) |
| XYZ | xyz(15.6928, 8.7341, 6.4886) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.94
Raspberry (survey)
#B00149
ΔE00 3.34
Purplish Red
#B0054B
ΔE00 3.44
Purple Red
#990147
ΔE00 4.27
Berry
#990F4B
ΔE00 4.33
Rouge
#AB1239
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2045 #209E79
analogous
#9E2084 #9E2045 #9E3A20
triadic
#9E2045 #459E20 #20459E
tetradic
#9E2045 #849E20 #209E79 #3A209E
square
#9E2045 #849E20 #209E79 #3A209E
split-complementary
#9E2045 #209E3A #20849E
monochromatic
#380B19 #6B162F #9E2045 #D12A5B #DE5B81
Accessibility & contrast
On white
7.65
#9E2045 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E2045 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2045
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2045 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#635D42
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e2045; /* rgb */ color: rgb(158, 32, 69); /* oklch */ color: oklch(46.4% 0.162 9.6);
Tailwind
colors: {
custom: {
50: '#c16978',
500: '#9e2045',
950: '#000000',
},
}SCSS
$custom: #9e2045; $custom-light: #c16978; $custom-dark: #000000;
JSON
{
"hex": "#9e2045",
"rgb": {
"r": 158,
"g": 32,
"b": 69
},
"hsl": {
"h": 342.381,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.46446,
"c": 0.16155,
"h": 9.6
},
"luminance": 0.08732
}Semantic roles & 50–950 ramp
primary
#9E2045
secondary
#58C2A3
accent
#E9B73F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B