#8E2A63#8E2A63
#8E2A63 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.147 H 349.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A63 |
|---|---|
| RGB | rgb(142, 42, 99) |
| HSL | hsl(326, 54%, 36%) |
| HSV | hsv(326, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 30.3%, 44.3%) |
| CIE-LAB | lab(34.62, 47.35, -10.33) |
| CIE-LCH | lch(34.62, 48.47, 347.69°) |
| OKLab | oklab(45.57% 0.1442 -0.027) |
| OKLCH | oklch(45.57% 0.147 349.4) |
| XYZ | xyz(14.2361, 8.3091, 12.6561) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.13
Dark Magenta
#960056
ΔE00 4.62
Dark Fuchsia
#9D0759
ΔE00 4.71
Deep Magenta
#A0025C
ΔE00 4.74
Reddish Purple
#910951
ΔE00 4.99
Mulberry
#920A4E
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A63 #2A8E55
analogous
#872A8E #8E2A63 #8E2A31
triadic
#8E2A63 #638E2A #2A638E
tetradic
#8E2A63 #8E872A #2A8E55 #2A318E
square
#8E2A63 #8E872A #2A8E55 #2A318E
split-complementary
#8E2A63 #318E2A #2A8E87
monochromatic
#300E21 #5F1C42 #8E2A63 #BD3884 #D162A1
Accessibility & contrast
On white
7.89
#8E2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8E2A63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A63
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A63 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#555861
Tritanopia (blue-blind)
#982542
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2a63; /* rgb */ color: rgb(142, 42, 99); /* oklch */ color: oklch(45.6% 0.147 349.4);
Tailwind
colors: {
custom: {
50: '#b36c8f',
500: '#8e2a63',
950: '#000000',
},
}SCSS
$custom: #8e2a63; $custom-light: #b36c8f; $custom-dark: #000000;
JSON
{
"hex": "#8e2a63",
"rgb": {
"r": 142,
"g": 42,
"b": 99
},
"hsl": {
"h": 325.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.45571,
"c": 0.14668,
"h": 349.4
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#8E2A63
secondary
#5DB684
accent
#DE8A4A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D