#9E2242#9E2242
#9E2242 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 11.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2242 |
|---|---|
| RGB | rgb(158, 34, 66) |
| HSL | hsl(345, 65%, 38%) |
| HSV | hsv(345, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 58.2%, 38%) |
| CIE-LAB | lab(35.61, 51.62, 12.76) |
| CIE-LCH | lch(35.61, 53.17, 13.88°) |
| OKLab | oklab(46.53% 0.1561 0.0319) |
| OKLCH | oklch(46.53% 0.159 11.5) |
| XYZ | xyz(15.6575, 8.8088, 6.0290) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.76
Raspberry (survey)
#B00149
ΔE00 3.84
Rouge
#AB1239
ΔE00 3.91
Purplish Red
#B0054B
ΔE00 4.05
Red Wine
#8C0034
ΔE00 5.31
Purple Red
#990147
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2242 #229E7E
analogous
#9E2280 #9E2242 #9E4022
triadic
#9E2242 #429E22 #22429E
tetradic
#9E2242 #809E22 #229E7E #40229E
square
#9E2242 #809E22 #229E7E #40229E
split-complementary
#9E2242 #229E40 #22809E
monochromatic
#390C18 #6C172D #9E2242 #D02D57 #DC5E7F
Accessibility & contrast
On white
7.60
#9E2242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E2242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2242
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2242 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2242; /* rgb */ color: rgb(158, 34, 66); /* oklch */ color: oklch(46.5% 0.159 11.5);
Tailwind
colors: {
custom: {
50: '#c16976',
500: '#9e2242',
950: '#000000',
},
}SCSS
$custom: #9e2242; $custom-light: #c16976; $custom-dark: #000000;
JSON
{
"hex": "#9e2242",
"rgb": {
"r": 158,
"g": 34,
"b": 66
},
"hsl": {
"h": 344.516,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.46531,
"c": 0.15934,
"h": 11.5
},
"luminance": 0.08807
}Semantic roles & 50–950 ramp
primary
#9E2242
secondary
#5BC1A7
accent
#E8BC40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B