#9E1A56#9E1A56
#9E1A56 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 359.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A56 |
|---|---|
| RGB | rgb(158, 26, 86) |
| HSL | hsl(333, 72%, 36%) |
| HSV | hsv(333, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 45.6%, 38%) |
| CIE-LAB | lab(35.36, 55.54, -0.54) |
| CIE-LCH | lch(35.36, 55.55, 359.44°) |
| OKLab | oklab(46.53% 0.1709 -0.0008) |
| OKLCH | oklch(46.53% 0.171 359.7) |
| XYZ | xyz(16.1510, 8.6820, 9.6276) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.65
Dark Fuchsia
#9D0759
ΔE00 2.26
Berry
#990F4B
ΔE00 2.57
Deep Magenta
#A0025C
ΔE00 2.69
Mulberry
#920A4E
ΔE00 3.11
Dark Magenta
#960056
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A56 #1A9E62
analogous
#9E1A98 #9E1A56 #9E201A
triadic
#9E1A56 #569E1A #1A569E
tetradic
#9E1A56 #989E1A #1A9E62 #201A9E
square
#9E1A56 #989E1A #1A9E62 #201A9E
split-complementary
#9E1A56 #1A9E20 #1A989E
monochromatic
#35091D #691139 #9E1A56 #D32373 #E25093
Accessibility & contrast
On white
7.68
#9E1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9E1A56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A56
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A56 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#5F5C53
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e1a56; /* rgb */ color: rgb(158, 26, 86); /* oklch */ color: oklch(46.5% 0.171 359.7);
Tailwind
colors: {
custom: {
50: '#c06785',
500: '#9e1a56',
950: '#000000',
},
}SCSS
$custom: #9e1a56; $custom-light: #c06785; $custom-dark: #000000;
JSON
{
"hex": "#9e1a56",
"rgb": {
"r": 158,
"g": 26,
"b": 86
},
"hsl": {
"h": 332.727,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.46526,
"c": 0.1709,
"h": 359.7
},
"luminance": 0.0868
}Semantic roles & 50–950 ramp
primary
#9E1A56
secondary
#4FC58F
accent
#EE9C39
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C