#8A304A#8A304A
#8A304A is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.124 H 5.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A304A |
|---|---|
| RGB | rgb(138, 48, 74) |
| HSL | hsl(343, 48%, 36%) |
| HSV | hsv(343, 65%, 54%) |
| CMYK | cmyk(0%, 65.2%, 46.4%, 45.9%) |
| CIE-LAB | lab(34.01, 40.56, 4.79) |
| CIE-LCH | lch(34.01, 40.84, 6.73°) |
| OKLab | oklab(44.71% 0.1236 0.0127) |
| OKLCH | oklch(44.71% 0.124 5.9) |
| XYZ | xyz(12.7752, 8.0131, 7.3512) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.96
Purple Red
#990147
ΔE00 5.44
Mulberry
#920A4E
ΔE00 5.99
Red Wine
#8C0034
ΔE00 6.54
Reddish Purple
#910951
ΔE00 6.69
Wine
#722F37
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A304A #308A70
analogous
#8A3077 #8A304A #8A4330
triadic
#8A304A #4A8A30 #304A8A
tetradic
#8A304A #778A30 #308A70 #43308A
square
#8A304A #778A30 #308A70 #43308A
split-complementary
#8A304A #308A43 #30778A
monochromatic
#2F1019 #5D2032 #8A304A #B74062 #CB6986
Accessibility & contrast
On white
8.07
#8A304A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8A304A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A304A
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A304A | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43454B
Deuteranopia (green-blind)
#5A5748
Tritanopia (blue-blind)
#96243A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a304a; /* rgb */ color: rgb(138, 48, 74); /* oklch */ color: oklch(44.7% 0.124 5.9);
Tailwind
colors: {
custom: {
50: '#b06e7c',
500: '#8a304a',
950: '#000000',
},
}SCSS
$custom: #8a304a; $custom-light: #b06e7c; $custom-dark: #000000;
JSON
{
"hex": "#8a304a",
"rgb": {
"r": 138,
"g": 48,
"b": 74
},
"hsl": {
"h": 342.667,
"s": 48.387,
"l": 36.471
},
"oklch": {
"l": 0.44712,
"c": 0.12427,
"h": 5.9
},
"luminance": 0.08012
}Semantic roles & 50–950 ramp
primary
#8A304A
secondary
#64B29C
accent
#D8B150
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B