#8A254A#8A254A
#8A254A is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.139 H 2.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A254A |
|---|---|
| RGB | rgb(138, 37, 74) |
| HSL | hsl(338, 58%, 34%) |
| HSV | hsv(338, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 46.4%, 45.9%) |
| CIE-LAB | lab(32.31, 45.23, 2.34) |
| CIE-LCH | lch(32.31, 45.29, 2.96°) |
| OKLab | oklab(43.45% 0.1385 0.0065) |
| OKLCH | oklch(43.45% 0.139 2.7) |
| XYZ | xyz(12.3798, 7.2224, 7.2194) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.28
Mulberry
#920A4E
ΔE00 3.56
Purple Red
#990147
ΔE00 3.79
Reddish Purple
#910951
ΔE00 4.25
Red Purple
#820747
ΔE00 4.69
Wine (survey)
#80013F
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A254A #258A65
analogous
#8A257D #8A254A #8A3325
triadic
#8A254A #4A8A25 #254A8A
tetradic
#8A254A #7D8A25 #258A65 #33258A
square
#8A254A #7D8A25 #258A65 #33258A
split-complementary
#8A254A #258A33 #257D8A
monochromatic
#290B16 #5A1830 #8A254A #BA3264 #D25784
Accessibility & contrast
On white
8.59
#8A254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8A254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A254A
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A254A | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F4B
Deuteranopia (green-blind)
#565348
Tritanopia (blue-blind)
#961534
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a254a; /* rgb */ color: rgb(138, 37, 74); /* oklch */ color: oklch(43.4% 0.139 2.7);
Tailwind
colors: {
custom: {
50: '#b1687c',
500: '#8a254a',
950: '#000000',
},
}SCSS
$custom: #8a254a; $custom-light: #b1687c; $custom-dark: #000000;
JSON
{
"hex": "#8a254a",
"rgb": {
"r": 138,
"g": 37,
"b": 74
},
"hsl": {
"h": 338.02,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.43449,
"c": 0.13862,
"h": 2.7
},
"luminance": 0.07221
}Semantic roles & 50–950 ramp
primary
#8A254A
secondary
#54B793
accent
#E1A847
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B