#8A405A#8A405A
#8A405A is a mid, moderate pink. Relative luminance 0.098; OKLCH L 47.5% C 0.105 H 359.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A405A |
|---|---|
| RGB | rgb(138, 64, 90) |
| HSL | hsl(339, 37%, 40%) |
| HSV | hsv(339, 54%, 54%) |
| CMYK | cmyk(0%, 53.6%, 34.8%, 45.9%) |
| CIE-LAB | lab(37.50, 34.47, -0.39) |
| CIE-LCH | lch(37.50, 34.47, 359.34°) |
| OKLab | oklab(47.48% 0.1048 -0.0006) |
| OKLCH | oklch(47.48% 0.105 359.7) |
| XYZ | xyz(14.1608, 9.8096, 10.8185) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Mauve
#874C62
ΔE00 3.64
Brownish Purple
#76424E
ΔE00 5.61
Light Burgundy
#A8415B
ΔE00 6.95
Light Maroon
#A24857
ΔE00 7.52
Dirty Purple
#734A65
ΔE00 7.94
Berry
#990F4B
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A405A #408A70
analogous
#8A407F #8A405A #8A4B40
triadic
#8A405A #5A8A40 #405A8A
tetradic
#8A405A #7F8A40 #408A70 #4B408A
square
#8A405A #7F8A40 #408A70 #4B408A
split-complementary
#8A405A #408A4B #407F8A
monochromatic
#361923 #602D3F #8A405A #B15676 #C48098
Accessibility & contrast
On white
7.09
#8A405A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#8A405A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A405A
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A405A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A405A | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#5F5D58
Tritanopia (blue-blind)
#943A4A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a405a; /* rgb */ color: rgb(138, 64, 90); /* oklch */ color: oklch(47.5% 0.105 359.7);
Tailwind
colors: {
custom: {
50: '#af7788',
500: '#8a405a',
950: '#000000',
},
}SCSS
$custom: #8a405a; $custom-light: #af7788; $custom-dark: #000000;
JSON
{
"hex": "#8a405a",
"rgb": {
"r": 138,
"g": 64,
"b": 90
},
"hsl": {
"h": 338.919,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.47477,
"c": 0.10477,
"h": 359.7
},
"luminance": 0.09808
}Semantic roles & 50–950 ramp
primary
#8A405A
secondary
#77AF9B
accent
#CDA55B
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11090B
muted
#807B7C