#9E2248#9E2248
#9E2248 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 8.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2248 |
|---|---|
| RGB | rgb(158, 34, 72) |
| HSL | hsl(342, 65%, 38%) |
| HSV | hsv(342, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 54.4%, 38%) |
| CIE-LAB | lab(35.76, 52.08, 9.08) |
| CIE-LCH | lch(35.76, 52.86, 9.89°) |
| OKLab | oklab(46.69% 0.1585 0.0232) |
| OKLCH | oklch(46.69% 0.16 8.3) |
| XYZ | xyz(15.8438, 8.8833, 7.0100) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.32
Raspberry (survey)
#B00149
ΔE00 3.34
Cranberry
#9E003A
ΔE00 3.62
Berry
#990F4B
ΔE00 3.82
Purple Red
#990147
ΔE00 3.94
Violet Red
#A50055
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2248 #229E78
analogous
#9E2286 #9E2248 #9E3A22
triadic
#9E2248 #489E22 #22489E
tetradic
#9E2248 #869E22 #229E78 #3A229E
square
#9E2248 #869E22 #229E78 #3A229E
split-complementary
#9E2248 #229E3A #22869E
monochromatic
#390C1A #6C1731 #9E2248 #D02D5F #DC5E85
Accessibility & contrast
On white
7.56
#9E2248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9E2248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2248
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2248 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434449
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2248; /* rgb */ color: rgb(158, 34, 72); /* oklch */ color: oklch(46.7% 0.160 8.3);
Tailwind
colors: {
custom: {
50: '#c16a7a',
500: '#9e2248',
950: '#000000',
},
}SCSS
$custom: #9e2248; $custom-light: #c16a7a; $custom-dark: #000000;
JSON
{
"hex": "#9e2248",
"rgb": {
"r": 158,
"g": 34,
"b": 72
},
"hsl": {
"h": 341.613,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.46685,
"c": 0.16019,
"h": 8.3
},
"luminance": 0.08881
}Semantic roles & 50–950 ramp
primary
#9E2248
secondary
#5BC1A2
accent
#E8B440
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B