#8E2A68#8E2A68
#8E2A68 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.150 H 346.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A68 |
|---|---|
| RGB | rgb(142, 42, 104) |
| HSL | hsl(323, 54%, 36%) |
| HSV | hsv(323, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 26.8%, 44.3%) |
| CIE-LAB | lab(34.82, 48.02, -13.22) |
| CIE-LCH | lch(34.82, 49.80, 344.61°) |
| OKLab | oklab(45.78% 0.1455 -0.0349) |
| OKLCH | oklch(45.78% 0.15 346.5) |
| XYZ | xyz(14.4826, 8.4077, 13.9542) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.97
Dark Magenta
#960056
ΔE00 5.45
Deep Magenta
#A0025C
ΔE00 5.47
Dark Fuchsia
#9D0759
ΔE00 5.58
Bruise
#7E4071
ΔE00 5.99
Reddish Purple
#910951
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A68 #2A8E50
analogous
#822A8E #8E2A68 #8E2A36
triadic
#8E2A68 #688E2A #2A688E
tetradic
#8E2A68 #8E822A #2A8E50 #2A368E
square
#8E2A68 #8E822A #2A8E50 #2A368E
split-complementary
#8E2A68 #368E2A #2A8E82
monochromatic
#300E23 #5F1C45 #8E2A68 #BD388B #D162A6
Accessibility & contrast
On white
7.83
#8E2A68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8E2A68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A68
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A68 | 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)
#36476A
Deuteranopia (green-blind)
#545866
Tritanopia (blue-blind)
#982845
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8e2a68; /* rgb */ color: rgb(142, 42, 104); /* oklch */ color: oklch(45.8% 0.150 346.5);
Tailwind
colors: {
custom: {
50: '#b36c93',
500: '#8e2a68',
950: '#000000',
},
}SCSS
$custom: #8e2a68; $custom-light: #b36c93; $custom-dark: #000000;
JSON
{
"hex": "#8e2a68",
"rgb": {
"r": 142,
"g": 42,
"b": 104
},
"hsl": {
"h": 322.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.45783,
"c": 0.14959,
"h": 346.5
},
"luminance": 0.08406
}Semantic roles & 50–950 ramp
primary
#8E2A68
secondary
#5DB67F
accent
#DE824A
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E