#8A4078#8A4078
#8A4078 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 48.7% C 0.123 H 337.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4078 |
|---|---|
| RGB | rgb(138, 64, 120) |
| HSL | hsl(315, 37%, 40%) |
| HSV | hsv(315, 54%, 54%) |
| CMYK | cmyk(0%, 53.6%, 13%, 45.9%) |
| CIE-LAB | lab(38.60, 39.03, -17.53) |
| CIE-LCH | lch(38.60, 42.79, 335.81°) |
| OKLab | oklab(48.66% 0.1141 -0.0472) |
| OKLCH | oklch(48.66% 0.123 337.5) |
| XYZ | xyz(15.7049, 10.4273, 18.9512) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.62
Light Eggplant
#894585
ΔE00 3.24
Warm Purple
#952E8F
ΔE00 6.57
Purplish
#94568C
ΔE00 6.64
Purpleish
#98568D
ΔE00 6.93
Grape
#6C3461
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4078 #408A52
analogous
#77408A #8A4078 #8A4053
triadic
#8A4078 #788A40 #40788A
tetradic
#8A4078 #8A7740 #408A52 #40538A
square
#8A4078 #8A7740 #408A52 #40538A
split-complementary
#8A4078 #538A40 #408A77
monochromatic
#36192F #602D54 #8A4078 #B1569B #C480B4
Accessibility & contrast
On white
6.81
#8A4078 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8A4078 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4078
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4078 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#914356
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a4078; /* rgb */ color: rgb(138, 64, 120); /* oklch */ color: oklch(48.7% 0.123 337.5);
Tailwind
colors: {
custom: {
50: '#ae789f',
500: '#8a4078',
950: '#000000',
},
}SCSS
$custom: #8a4078; $custom-light: #ae789f; $custom-dark: #000000;
JSON
{
"hex": "#8a4078",
"rgb": {
"r": 138,
"g": 64,
"b": 120
},
"hsl": {
"h": 314.595,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.4866,
"c": 0.12347,
"h": 337.5
},
"luminance": 0.10426
}Semantic roles & 50–950 ramp
primary
#8A4078
secondary
#77AF85
accent
#CD775B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E