#8A405B#8A405B
#8A405B is a mid, moderate pink. Relative luminance 0.098; OKLCH L 47.5% C 0.105 H 358.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A405B |
|---|---|
| RGB | rgb(138, 64, 91) |
| HSL | hsl(338, 37%, 40%) |
| HSV | hsv(338, 54%, 54%) |
| CMYK | cmyk(0%, 53.6%, 34.1%, 45.9%) |
| CIE-LAB | lab(37.53, 34.60, -0.98) |
| CIE-LCH | lch(37.53, 34.62, 358.38°) |
| OKLab | oklab(47.51% 0.1052 -0.0021) |
| OKLCH | oklch(47.51% 0.105 358.8) |
| XYZ | xyz(14.2036, 9.8267, 11.0442) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Mauve
#874C62
ΔE00 3.59
Brownish Purple
#76424E
ΔE00 5.79
Light Burgundy
#A8415B
ΔE00 7.10
Light Maroon
#A24857
ΔE00 7.76
Dirty Purple
#734A65
ΔE00 7.76
Berry
#990F4B
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A405B #408A6F
analogous
#8A4080 #8A405B #8A4A40
triadic
#8A405B #5B8A40 #405B8A
tetradic
#8A405B #808A40 #408A6F #4A408A
square
#8A405B #808A40 #408A6F #4A408A
split-complementary
#8A405B #408A4A #40808A
monochromatic
#361924 #602D3F #8A405B #B15677 #C48099
Accessibility & contrast
On white
7.08
#8A405B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#8A405B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A405B
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A405B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A405B | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#5F5D59
Tritanopia (blue-blind)
#943B4A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8a405b; /* rgb */ color: rgb(138, 64, 91); /* oklch */ color: oklch(47.5% 0.105 358.8);
Tailwind
colors: {
custom: {
50: '#af7789',
500: '#8a405b',
950: '#000000',
},
}SCSS
$custom: #8a405b; $custom-light: #af7789; $custom-dark: #000000;
JSON
{
"hex": "#8a405b",
"rgb": {
"r": 138,
"g": 64,
"b": 91
},
"hsl": {
"h": 338.108,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.47511,
"c": 0.10517,
"h": 358.8
},
"luminance": 0.09825
}Semantic roles & 50–950 ramp
primary
#8A405B
secondary
#77AF9A
accent
#CDA35B
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11090B
muted
#807B7C