#8A304C#8A304C
#8A304C is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.8% C 0.125 H 4.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A304C |
|---|---|
| RGB | rgb(138, 48, 76) |
| HSL | hsl(341, 48%, 36%) |
| HSV | hsv(341, 65%, 54%) |
| CMYK | cmyk(0%, 65.2%, 44.9%, 45.9%) |
| CIE-LAB | lab(34.07, 40.77, 3.57) |
| CIE-LCH | lch(34.07, 40.93, 5.01°) |
| OKLab | oklab(44.77% 0.1244 0.0097) |
| OKLCH | oklch(44.77% 0.125 4.4) |
| XYZ | xyz(12.8436, 8.0405, 7.7117) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.77
Purple Red
#990147
ΔE00 5.35
Mulberry
#920A4E
ΔE00 5.58
Reddish Purple
#910951
ΔE00 6.21
Violet Red
#A50055
ΔE00 6.63
Wine (survey)
#80013F
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A304C #308A6E
analogous
#8A3079 #8A304C #8A4130
triadic
#8A304C #4C8A30 #304C8A
tetradic
#8A304C #798A30 #308A6E #41308A
square
#8A304C #798A30 #308A6E #41308A
split-complementary
#8A304C #308A41 #30798A
monochromatic
#2F101A #5D2033 #8A304C #B74065 #CB6988
Accessibility & contrast
On white
8.05
#8A304C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8A304C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A304C
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A304C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A304C | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454D
Deuteranopia (green-blind)
#5A574A
Tritanopia (blue-blind)
#96253B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a304c; /* rgb */ color: rgb(138, 48, 76); /* oklch */ color: oklch(44.8% 0.125 4.4);
Tailwind
colors: {
custom: {
50: '#b06e7d',
500: '#8a304c',
950: '#000000',
},
}SCSS
$custom: #8a304c; $custom-light: #b06e7d; $custom-dark: #000000;
JSON
{
"hex": "#8a304c",
"rgb": {
"r": 138,
"g": 48,
"b": 76
},
"hsl": {
"h": 341.333,
"s": 48.387,
"l": 36.471
},
"oklch": {
"l": 0.44773,
"c": 0.12476,
"h": 4.4
},
"luminance": 0.08039
}Semantic roles & 50–950 ramp
primary
#8A304C
secondary
#64B29A
accent
#D8AE50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B