#9E2168#9E2168
#9E2168 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 351.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2168 |
|---|---|
| RGB | rgb(158, 33, 104) |
| HSL | hsl(326, 65%, 37%) |
| HSV | hsv(326, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 34.2%, 38%) |
| CIE-LAB | lab(36.67, 55.50, -10.14) |
| CIE-LCH | lch(36.67, 56.42, 349.65°) |
| OKLab | oklab(47.68% 0.1702 -0.0263) |
| OKLCH | oklch(47.68% 0.172 351.2) |
| XYZ | xyz(17.1441, 9.3584, 13.9975) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.61
Deep Magenta
#A0025C
ΔE00 3.15
Dark Fuchsia
#9D0759
ΔE00 3.57
Dark Magenta
#960056
ΔE00 4.34
Violet Red
#A50055
ΔE00 5.17
Reddish Purple
#910951
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2168 #219E57
analogous
#96219E #9E2168 #9E212A
triadic
#9E2168 #689E21 #21689E
tetradic
#9E2168 #9E9621 #219E57 #212A9E
square
#9E2168 #9E9621 #219E57 #212A9E
split-complementary
#9E2168 #2A9E21 #219E96
monochromatic
#390C25 #6B1647 #9E2168 #D12C89 #DD5CA5
Accessibility & contrast
On white
7.31
#9E2168 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E2168 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2168
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2168 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2168 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38486A
Deuteranopia (green-blind)
#5C5E65
Tritanopia (blue-blind)
#AA1642
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e2168; /* rgb */ color: rgb(158, 33, 104); /* oklch */ color: oklch(47.7% 0.172 351.2);
Tailwind
colors: {
custom: {
50: '#bf6a93',
500: '#9e2168',
950: '#000000',
},
}SCSS
$custom: #9e2168; $custom-light: #bf6a93; $custom-dark: #000000;
JSON
{
"hex": "#9e2168",
"rgb": {
"r": 158,
"g": 33,
"b": 104
},
"hsl": {
"h": 325.92,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.47681,
"c": 0.17218,
"h": 351.2
},
"luminance": 0.09356
}Semantic roles & 50–950 ramp
primary
#9E2168
secondary
#59C186
accent
#E8883F
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E