#8A2541#8A2541
#8A2541 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.136 H 8.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2541 |
|---|---|
| RGB | rgb(138, 37, 65) |
| HSL | hsl(343, 58%, 34%) |
| HSV | hsv(343, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 52.9%, 45.9%) |
| CIE-LAB | lab(32.06, 44.38, 7.88) |
| CIE-LCH | lch(32.06, 45.07, 10.07°) |
| OKLab | oklab(43.18% 0.135 0.0203) |
| OKLCH | oklch(43.18% 0.136 8.5) |
| XYZ | xyz(12.0980, 7.1097, 5.7353) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.02
Purple Red
#990147
ΔE00 4.50
Berry
#990F4B
ΔE00 4.55
Cranberry
#9E003A
ΔE00 4.83
Bordeaux
#7B002C
ΔE00 5.84
Wine (survey)
#80013F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2541 #258A6E
analogous
#8A2574 #8A2541 #8A3C25
triadic
#8A2541 #418A25 #25418A
tetradic
#8A2541 #748A25 #258A6E #3C258A
square
#8A2541 #748A25 #258A6E #3C258A
split-complementary
#8A2541 #258A3C #25748A
monochromatic
#290B14 #5A182A #8A2541 #BA3258 #D25779
Accessibility & contrast
On white
8.67
#8A2541 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8A2541 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2541
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2541 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2541 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E42
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#971030
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2541; /* rgb */ color: rgb(138, 37, 65); /* oklch */ color: oklch(43.2% 0.136 8.5);
Tailwind
colors: {
custom: {
50: '#b16875',
500: '#8a2541',
950: '#000000',
},
}SCSS
$custom: #8a2541; $custom-light: #b16875; $custom-dark: #000000;
JSON
{
"hex": "#8a2541",
"rgb": {
"r": 138,
"g": 37,
"b": 65
},
"hsl": {
"h": 343.366,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.4318,
"c": 0.13648,
"h": 8.5
},
"luminance": 0.07108
}Semantic roles & 50–950 ramp
primary
#8A2541
secondary
#54B79B
accent
#E1B647
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B