#8A2540#8A2540
#8A2540 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.136 H 9.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2540 |
|---|---|
| RGB | rgb(138, 37, 64) |
| HSL | hsl(344, 58%, 34%) |
| HSV | hsv(344, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 53.6%, 45.9%) |
| CIE-LAB | lab(32.03, 44.29, 8.50) |
| CIE-LCH | lch(32.03, 45.10, 10.87°) |
| OKLab | oklab(43.15% 0.1346 0.0218) |
| OKLCH | oklch(43.15% 0.136 9.2) |
| XYZ | xyz(12.0693, 7.0982, 5.5840) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.89
Cranberry
#9E003A
ΔE00 4.69
Purple Red
#990147
ΔE00 4.71
Berry
#990F4B
ΔE00 4.81
Bordeaux
#7B002C
ΔE00 5.73
Wine
#722F37
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2540 #258A6F
analogous
#8A2573 #8A2540 #8A3C25
triadic
#8A2540 #408A25 #25408A
tetradic
#8A2540 #738A25 #258A6F #3C258A
square
#8A2540 #738A25 #258A6F #3C258A
split-complementary
#8A2540 #258A3C #25738A
monochromatic
#290B13 #5A182A #8A2540 #BA3256 #D25778
Accessibility & contrast
On white
8.68
#8A2540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8A2540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2540
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2540 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3E40
Deuteranopia (green-blind)
#58533E
Tritanopia (blue-blind)
#970F30
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2540; /* rgb */ color: rgb(138, 37, 64); /* oklch */ color: oklch(43.2% 0.136 9.2);
Tailwind
colors: {
custom: {
50: '#b16874',
500: '#8a2540',
950: '#000000',
},
}SCSS
$custom: #8a2540; $custom-light: #b16874; $custom-dark: #000000;
JSON
{
"hex": "#8a2540",
"rgb": {
"r": 138,
"g": 37,
"b": 64
},
"hsl": {
"h": 343.96,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.43152,
"c": 0.13631,
"h": 9.2
},
"luminance": 0.07097
}Semantic roles & 50–950 ramp
primary
#8A2540
secondary
#54B79C
accent
#E1B847
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B