#8A286C#8A286C
#8A286C is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 342.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A286C |
|---|---|
| RGB | rgb(138, 40, 108) |
| HSL | hsl(318, 55%, 35%) |
| HSV | hsv(318, 71%, 54%) |
| CMYK | cmyk(0%, 71%, 21.7%, 45.9%) |
| CIE-LAB | lab(33.99, 48.24, -17.09) |
| CIE-LCH | lch(33.99, 51.18, 340.49°) |
| OKLab | oklab(45.1% 0.1447 -0.0458) |
| OKLCH | oklch(45.1% 0.152 342.4) |
| XYZ | xyz(13.9472, 8.0049, 14.9950) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.64
Bruise
#7E4071
ΔE00 5.60
Grape
#6C3461
ΔE00 6.63
Dark Magenta
#960056
ΔE00 6.65
Deep Magenta
#A0025C
ΔE00 6.87
Velvet
#750851
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A286C #288A46
analogous
#77288A #8A286C #8A283B
triadic
#8A286C #6C8A28 #286C8A
tetradic
#8A286C #8A7728 #288A46 #283B8A
square
#8A286C #8A7728 #288A46 #283B8A
split-complementary
#8A286C #3B8A28 #288A77
monochromatic
#2B0C22 #5B1A47 #8A286C #B93691 #D05DAD
Accessibility & contrast
On white
8.07
#8A286C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8A286C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A286C
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A286C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A286C | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31466E
Deuteranopia (green-blind)
#4F566A
Tritanopia (blue-blind)
#932946
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a286c; /* rgb */ color: rgb(138, 40, 108); /* oklch */ color: oklch(45.1% 0.152 342.4);
Tailwind
colors: {
custom: {
50: '#af6b96',
500: '#8a286c',
950: '#000000',
},
}SCSS
$custom: #8a286c; $custom-light: #af6b96; $custom-dark: #000000;
JSON
{
"hex": "#8a286c",
"rgb": {
"r": 138,
"g": 40,
"b": 108
},
"hsl": {
"h": 318.367,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.45101,
"c": 0.15177,
"h": 342.4
},
"luminance": 0.08004
}Semantic roles & 50–950 ramp
primary
#8A286C
secondary
#59B575
accent
#DE7749
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E