#9E2062#9E2062
#9E2062 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 354.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2062 |
|---|---|
| RGB | rgb(158, 32, 98) |
| HSL | hsl(329, 66%, 37%) |
| HSV | hsv(329, 80%, 62%) |
| CMYK | cmyk(0%, 79.7%, 38%, 38%) |
| CIE-LAB | lab(36.34, 55.13, -6.81) |
| CIE-LCH | lch(36.34, 55.55, 352.96°) |
| OKLab | oklab(47.37% 0.1694 -0.0173) |
| OKLCH | oklch(47.37% 0.17 354.2) |
| XYZ | xyz(16.8228, 9.1861, 12.4401) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.23
Dark Fuchsia
#9D0759
ΔE00 2.47
Red Violet
#9E0168
ΔE00 3.41
Dark Magenta
#960056
ΔE00 3.57
Violet Red
#A50055
ΔE00 3.81
Reddish Purple
#910951
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2062 #209E5C
analogous
#9B209E #9E2062 #9E2023
triadic
#9E2062 #629E20 #20629E
tetradic
#9E2062 #9E9B20 #209E5C #20239E
square
#9E2062 #9E9B20 #209E5C #20239E
split-complementary
#9E2062 #239E20 #209E9B
monochromatic
#380B23 #6B1642 #9E2062 #D12A82 #DE5B9F
Accessibility & contrast
On white
7.40
#9E2062 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9E2062 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2062
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2062 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5D5E5F
Tritanopia (blue-blind)
#AB0F3E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e2062; /* rgb */ color: rgb(158, 32, 98); /* oklch */ color: oklch(47.4% 0.170 354.2);
Tailwind
colors: {
custom: {
50: '#bf6a8e',
500: '#9e2062',
950: '#000000',
},
}SCSS
$custom: #9e2062; $custom-light: #bf6a8e; $custom-dark: #000000;
JSON
{
"hex": "#9e2062",
"rgb": {
"r": 158,
"g": 32,
"b": 98
},
"hsl": {
"h": 328.571,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.47372,
"c": 0.17032,
"h": 354.2
},
"luminance": 0.09184
}Semantic roles & 50–950 ramp
primary
#9E2062
secondary
#58C28A
accent
#E9903F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D