#8A4072#8A4072
#8A4072 is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.4% C 0.119 H 341.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4072 |
|---|---|
| RGB | rgb(138, 64, 114) |
| HSL | hsl(319, 37%, 40%) |
| HSV | hsv(319, 54%, 54%) |
| CMYK | cmyk(0%, 53.6%, 17.4%, 45.9%) |
| CIE-LAB | lab(38.35, 38.03, -14.18) |
| CIE-LCH | lch(38.35, 40.59, 339.55°) |
| OKLab | oklab(48.4% 0.1126 -0.0379) |
| OKLCH | oklch(48.4% 0.119 341.4) |
| XYZ | xyz(15.3522, 10.2862, 17.0932) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.78
Light Eggplant
#894585
ΔE00 4.79
Grape
#6C3461
ΔE00 6.95
Dirty Purple
#734A65
ΔE00 7.20
Purplish
#94568C
ΔE00 7.26
Purpleish
#98568D
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4072 #408A58
analogous
#7D408A #8A4072 #8A404D
triadic
#8A4072 #728A40 #40728A
tetradic
#8A4072 #8A7D40 #408A58 #404D8A
square
#8A4072 #8A7D40 #408A58 #404D8A
split-complementary
#8A4072 #4D8A40 #408A7D
monochromatic
#36192D #602D4F #8A4072 #B15693 #C480AE
Accessibility & contrast
On white
6.87
#8A4072 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#8A4072 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4072
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4072 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4072 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#914154
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8a4072; /* rgb */ color: rgb(138, 64, 114); /* oklch */ color: oklch(48.4% 0.119 341.4);
Tailwind
colors: {
custom: {
50: '#ae789a',
500: '#8a4072',
950: '#000000',
},
}SCSS
$custom: #8a4072; $custom-light: #ae789a; $custom-dark: #000000;
JSON
{
"hex": "#8a4072",
"rgb": {
"r": 138,
"g": 64,
"b": 114
},
"hsl": {
"h": 319.459,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.48395,
"c": 0.11875,
"h": 341.4
},
"luminance": 0.10285
}Semantic roles & 50–950 ramp
primary
#8A4072
secondary
#77AF89
accent
#CD805B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E