#8A2042#8A2042
#8A2042 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.142 H 6.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2042 |
|---|---|
| RGB | rgb(138, 32, 66) |
| HSL | hsl(341, 62%, 33%) |
| HSV | hsv(341, 77%, 54%) |
| CMYK | cmyk(0%, 76.8%, 52.2%, 45.9%) |
| CIE-LAB | lab(31.42, 46.31, 6.33) |
| CIE-LCH | lch(31.42, 46.74, 7.78°) |
| OKLab | oklab(42.72% 0.1413 0.0165) |
| OKLCH | oklch(42.72% 0.142 6.6) |
| XYZ | xyz(11.9822, 6.8313, 5.8408) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.60
Berry
#990F4B
ΔE00 3.66
Red Wine
#8C0034
ΔE00 3.93
Mulberry
#920A4E
ΔE00 4.78
Wine (survey)
#80013F
ΔE00 4.79
Cranberry
#9E003A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2042 #208A68
analogous
#8A2077 #8A2042 #8A3320
triadic
#8A2042 #428A20 #20428A
tetradic
#8A2042 #778A20 #208A68 #33208A
square
#8A2042 #778A20 #208A68 #33208A
split-complementary
#8A2042 #208A33 #20778A
monochromatic
#270912 #58142A #8A2042 #BC2C5A #D64E7A
Accessibility & contrast
On white
8.88
#8A2042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A2042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2042
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2042 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#56523F
Tritanopia (blue-blind)
#97052E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2042; /* rgb */ color: rgb(138, 32, 66); /* oklch */ color: oklch(42.7% 0.142 6.6);
Tailwind
colors: {
custom: {
50: '#b26676',
500: '#8a2042',
950: '#000000',
},
}SCSS
$custom: #8a2042; $custom-light: #b26676; $custom-dark: #000000;
JSON
{
"hex": "#8a2042",
"rgb": {
"r": 138,
"g": 32,
"b": 66
},
"hsl": {
"h": 340.755,
"s": 62.353,
"l": 33.333
},
"oklch": {
"l": 0.42719,
"c": 0.14226,
"h": 6.6
},
"luminance": 0.0683
}Semantic roles & 50–950 ramp
primary
#8A2042
secondary
#4DB996
accent
#E5B142
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B