#9E2254#9E2254
#9E2254 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.163 H 1.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2254 |
|---|---|
| RGB | rgb(158, 34, 84) |
| HSL | hsl(336, 65%, 38%) |
| HSV | hsv(336, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 46.8%, 38%) |
| CIE-LAB | lab(36.09, 53.12, 1.81) |
| CIE-LCH | lch(36.09, 53.15, 1.95°) |
| OKLab | oklab(47.04% 0.163 0.0052) |
| OKLCH | oklch(47.04% 0.163 1.8) |
| XYZ | xyz(16.2741, 9.0554, 9.2767) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.53
Berry
#990F4B
ΔE00 2.59
Purple Red
#990147
ΔE00 3.54
Dark Fuchsia
#9D0759
ΔE00 3.72
Mulberry
#920A4E
ΔE00 4.01
Deep Magenta
#A0025C
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2254 #229E6C
analogous
#9E2292 #9E2254 #9E2E22
triadic
#9E2254 #549E22 #22549E
tetradic
#9E2254 #929E22 #229E6C #2E229E
square
#9E2254 #929E22 #229E6C #2E229E
split-complementary
#9E2254 #229E2E #22929E
monochromatic
#390C1E #6C1739 #9E2254 #D02D6F #DC5E91
Accessibility & contrast
On white
7.47
#9E2254 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9E2254 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2254
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2254 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2254 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#615E51
Tritanopia (blue-blind)
#AC0438
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e2254; /* rgb */ color: rgb(158, 34, 84); /* oklch */ color: oklch(47.0% 0.163 1.8);
Tailwind
colors: {
custom: {
50: '#c06a83',
500: '#9e2254',
950: '#000000',
},
}SCSS
$custom: #9e2254; $custom-light: #c06a83; $custom-dark: #000000;
JSON
{
"hex": "#9e2254",
"rgb": {
"r": 158,
"g": 34,
"b": 84
},
"hsl": {
"h": 335.806,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.47038,
"c": 0.16307,
"h": 1.8
},
"luminance": 0.09053
}Semantic roles & 50–950 ramp
primary
#9E2254
secondary
#5BC198
accent
#E8A440
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C