#8A2E51#8A2E51
#8A2E51 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.129 H 0.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E51 |
|---|---|
| RGB | rgb(138, 46, 81) |
| HSL | hsl(337, 50%, 36%) |
| HSV | hsv(337, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 41.3%, 45.9%) |
| CIE-LAB | lab(33.88, 42.23, 0.08) |
| CIE-LCH | lch(33.88, 42.23, 0.10°) |
| OKLab | oklab(44.69% 0.1291 0.0007) |
| OKLCH | oklch(44.69% 0.129 0.3) |
| XYZ | xyz(12.9443, 7.9529, 8.6364) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 4.46
Berry
#990F4B
ΔE00 4.49
Reddish Purple
#910951
ΔE00 4.81
Purple Red
#990147
ΔE00 5.29
Dark Fuchsia
#9D0759
ΔE00 5.50
Dark Magenta
#960056
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E51 #2E8A67
analogous
#8A2E7F #8A2E51 #8A392E
triadic
#8A2E51 #518A2E #2E518A
tetradic
#8A2E51 #7F8A2E #2E8A67 #392E8A
square
#8A2E51 #7F8A2E #2E8A67 #392E8A
split-complementary
#8A2E51 #2E8A39 #2E7F8A
monochromatic
#2E0F1B #5C1F36 #8A2E51 #B83D6C #CC668D
Accessibility & contrast
On white
8.11
#8A2E51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8A2E51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E51
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E51 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404552
Deuteranopia (green-blind)
#58564F
Tritanopia (blue-blind)
#95243C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2e51; /* rgb */ color: rgb(138, 46, 81); /* oklch */ color: oklch(44.7% 0.129 0.3);
Tailwind
colors: {
custom: {
50: '#b06d81',
500: '#8a2e51',
950: '#000000',
},
}SCSS
$custom: #8a2e51; $custom-light: #b06d81; $custom-dark: #000000;
JSON
{
"hex": "#8a2e51",
"rgb": {
"r": 138,
"g": 46,
"b": 81
},
"hsl": {
"h": 337.174,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.44687,
"c": 0.12913,
"h": 0.3
},
"luminance": 0.07951
}Semantic roles & 50–950 ramp
primary
#8A2E51
secondary
#61B394
accent
#DAA54E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C