#8A427E#8A427E
#8A427E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.2% C 0.125 H 334.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A427E |
|---|---|
| RGB | rgb(138, 66, 126) |
| HSL | hsl(310, 35%, 40%) |
| HSV | hsv(310, 52%, 54%) |
| CMYK | cmyk(0%, 52.2%, 8.7%, 45.9%) |
| CIE-LAB | lab(39.25, 39.03, -20.23) |
| CIE-LCH | lch(39.25, 43.96, 332.60°) |
| OKLab | oklab(49.23% 0.1124 -0.0549) |
| OKLCH | oklch(49.23% 0.125 334) |
| XYZ | xyz(16.1953, 10.8071, 20.9676) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 1.79
Bruise
#7E4071
ΔE00 3.26
Warm Purple
#952E8F
ΔE00 5.78
Purplish
#94568C
ΔE00 5.92
Purpleish
#98568D
ΔE00 6.29
Medium Purple
#9E43A2
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A427E #428A4E
analogous
#72428A #8A427E #8A425A
triadic
#8A427E #7E8A42 #427E8A
tetradic
#8A427E #8A7242 #428A4E #425A8A
square
#8A427E #8A7242 #428A4E #425A8A
split-complementary
#8A427E #5A8A42 #428A72
monochromatic
#371A32 #612E58 #8A427E #B059A1 #C483B9
Accessibility & contrast
On white
6.64
#8A427E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#8A427E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A427E
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A427E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A427E | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#90465A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a427e; /* rgb */ color: rgb(138, 66, 126); /* oklch */ color: oklch(49.2% 0.125 334.0);
Tailwind
colors: {
custom: {
50: '#ae79a3',
500: '#8a427e',
950: '#000000',
},
}SCSS
$custom: #8a427e; $custom-light: #ae79a3; $custom-dark: #000000;
JSON
{
"hex": "#8a427e",
"rgb": {
"r": 138,
"g": 66,
"b": 126
},
"hsl": {
"h": 310,
"s": 35.294,
"l": 40
},
"oklch": {
"l": 0.49231,
"c": 0.12508,
"h": 334
},
"luminance": 0.10806
}Semantic roles & 50–950 ramp
primary
#8A427E
secondary
#79AE82
accent
#CB6F5C
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F