#9E1A52#9E1A52
#9E1A52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.170 H 1.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A52 |
|---|---|
| RGB | rgb(158, 26, 82) |
| HSL | hsl(335, 72%, 36%) |
| HSV | hsv(335, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 48.1%, 38%) |
| CIE-LAB | lab(35.24, 55.18, 1.87) |
| CIE-LCH | lch(35.24, 55.21, 1.94°) |
| OKLab | oklab(46.4% 0.1695 0.0054) |
| OKLCH | oklch(46.4% 0.17 1.8) |
| XYZ | xyz(15.9943, 8.6193, 8.8025) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.82
Violet Red
#A50055
ΔE00 1.90
Purple Red
#990147
ΔE00 2.77
Dark Fuchsia
#9D0759
ΔE00 3.23
Mulberry
#920A4E
ΔE00 3.34
Deep Magenta
#A0025C
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A52 #1A9E66
analogous
#9E1A94 #9E1A52 #9E241A
triadic
#9E1A52 #529E1A #1A529E
tetradic
#9E1A52 #949E1A #1A9E66 #241A9E
square
#9E1A52 #949E1A #1A9E66 #241A9E
split-complementary
#9E1A52 #1A9E24 #1A949E
monochromatic
#35091B #691137 #9E1A52 #D3236D #E2508E
Accessibility & contrast
On white
7.71
#9E1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9E1A52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A52
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A52 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1a52; /* rgb */ color: rgb(158, 26, 82); /* oklch */ color: oklch(46.4% 0.170 1.8);
Tailwind
colors: {
custom: {
50: '#c06782',
500: '#9e1a52',
950: '#000000',
},
}SCSS
$custom: #9e1a52; $custom-light: #c06782; $custom-dark: #000000;
JSON
{
"hex": "#9e1a52",
"rgb": {
"r": 158,
"g": 26,
"b": 82
},
"hsl": {
"h": 334.545,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.46395,
"c": 0.16962,
"h": 1.8
},
"luminance": 0.08617
}Semantic roles & 50–950 ramp
primary
#9E1A52
secondary
#4FC593
accent
#EEA239
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C