#9E2255#9E2255
#9E2255 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 1.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2255 |
|---|---|
| RGB | rgb(158, 34, 85) |
| HSL | hsl(335, 65%, 38%) |
| HSV | hsv(335, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 46.2%, 38%) |
| CIE-LAB | lab(36.12, 53.21, 1.21) |
| CIE-LCH | lch(36.12, 53.22, 1.30°) |
| OKLab | oklab(47.07% 0.1633 0.0037) |
| OKLCH | oklch(47.07% 0.163 1.3) |
| XYZ | xyz(16.3136, 9.0712, 9.4844) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.43
Berry
#990F4B
ΔE00 2.70
Dark Fuchsia
#9D0759
ΔE00 3.50
Purple Red
#990147
ΔE00 3.68
Deep Magenta
#A0025C
ΔE00 3.90
Mulberry
#920A4E
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2255 #229E6B
analogous
#9E2293 #9E2255 #9E2D22
triadic
#9E2255 #559E22 #22559E
tetradic
#9E2255 #939E22 #229E6B #2D229E
square
#9E2255 #939E22 #229E6B #2D229E
split-complementary
#9E2255 #229E2D #22939E
monochromatic
#390C1F #6C173A #9E2255 #D02D70 #DC5E92
Accessibility & contrast
On white
7.46
#9E2255 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9E2255 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2255
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2255 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2255 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4656
Deuteranopia (green-blind)
#615E52
Tritanopia (blue-blind)
#AC0539
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e2255; /* rgb */ color: rgb(158, 34, 85); /* oklch */ color: oklch(47.1% 0.163 1.3);
Tailwind
colors: {
custom: {
50: '#c06a84',
500: '#9e2255',
950: '#000000',
},
}SCSS
$custom: #9e2255; $custom-light: #c06a84; $custom-dark: #000000;
JSON
{
"hex": "#9e2255",
"rgb": {
"r": 158,
"g": 34,
"b": 85
},
"hsl": {
"h": 335.323,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.4707,
"c": 0.16338,
"h": 1.3
},
"luminance": 0.09069
}Semantic roles & 50–950 ramp
primary
#9E2255
secondary
#5BC197
accent
#E8A340
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C