#8A2841#8A2841
#8A2841 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.133 H 9.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2841 |
|---|---|
| RGB | rgb(138, 40, 65) |
| HSL | hsl(345, 55%, 35%) |
| HSV | hsv(345, 71%, 54%) |
| CMYK | cmyk(0%, 71%, 52.9%, 45.9%) |
| CIE-LAB | lab(32.49, 43.18, 8.49) |
| CIE-LCH | lch(32.49, 44.01, 11.12°) |
| OKLab | oklab(43.5% 0.1311 0.0217) |
| OKLCH | oklch(43.5% 0.133 9.4) |
| XYZ | xyz(12.1952, 7.3041, 5.7677) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.35
Cranberry
#9E003A
ΔE00 4.93
Purple Red
#990147
ΔE00 5.06
Berry
#990F4B
ΔE00 5.07
Wine
#722F37
ΔE00 5.87
Bordeaux
#7B002C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2841 #288A71
analogous
#8A2872 #8A2841 #8A4028
triadic
#8A2841 #418A28 #28418A
tetradic
#8A2841 #728A28 #288A71 #40288A
square
#8A2841 #728A28 #288A71 #40288A
split-complementary
#8A2841 #288A40 #28728A
monochromatic
#2B0C14 #5B1A2B #8A2841 #B93657 #D05D7A
Accessibility & contrast
On white
8.53
#8A2841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8A2841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2841
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2841 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4041
Deuteranopia (green-blind)
#59543F
Tritanopia (blue-blind)
#971532
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a2841; /* rgb */ color: rgb(138, 40, 65); /* oklch */ color: oklch(43.5% 0.133 9.4);
Tailwind
colors: {
custom: {
50: '#b16975',
500: '#8a2841',
950: '#000000',
},
}SCSS
$custom: #8a2841; $custom-light: #b16975; $custom-dark: #000000;
JSON
{
"hex": "#8a2841",
"rgb": {
"r": 138,
"g": 40,
"b": 65
},
"hsl": {
"h": 344.694,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.43502,
"c": 0.13292,
"h": 9.4
},
"luminance": 0.07303
}Semantic roles & 50–950 ramp
primary
#8A2841
secondary
#59B59E
accent
#DEB849
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120708
muted
#817A7B