#9A1E52#9A1E52
#9A1E52 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 1.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E52 |
|---|---|
| RGB | rgb(154, 30, 82) |
| HSL | hsl(335, 67%, 36%) |
| HSV | hsv(335, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 46.8%, 39.6%) |
| CIE-LAB | lab(34.82, 53.02, 1.16) |
| CIE-LCH | lch(34.82, 53.03, 1.25°) |
| OKLab | oklab(45.95% 0.1628 0.0036) |
| OKLCH | oklch(45.95% 0.163 1.3) |
| XYZ | xyz(15.3150, 8.4099, 8.7978) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.84
Violet Red
#A50055
ΔE00 2.43
Purple Red
#990147
ΔE00 2.89
Mulberry
#920A4E
ΔE00 2.94
Dark Fuchsia
#9D0759
ΔE00 3.14
Reddish Purple
#910951
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E52 #1E9A66
analogous
#9A1E90 #9A1E52 #9A281E
triadic
#9A1E52 #529A1E #1E529A
tetradic
#9A1E52 #909A1E #1E9A66 #281E9A
square
#9A1E52 #909A1E #1E9A66 #281E9A
split-complementary
#9A1E52 #1E9A28 #1E909A
monochromatic
#340A1B #671437 #9A1E52 #CD286D #DE558E
Accessibility & contrast
On white
7.83
#9A1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A1E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E52
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E52 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A80035
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a1e52; /* rgb */ color: rgb(154, 30, 82); /* oklch */ color: oklch(45.9% 0.163 1.3);
Tailwind
colors: {
custom: {
50: '#bd6882',
500: '#9a1e52',
950: '#000000',
},
}SCSS
$custom: #9a1e52; $custom-light: #bd6882; $custom-dark: #000000;
JSON
{
"hex": "#9a1e52",
"rgb": {
"r": 154,
"g": 30,
"b": 82
},
"hsl": {
"h": 334.839,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.45946,
"c": 0.16288,
"h": 1.3
},
"luminance": 0.08408
}Semantic roles & 50–950 ramp
primary
#9A1E52
secondary
#53C193
accent
#EAA23E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C