#8A304B#8A304B
#8A304B is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.125 H 5.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A304B |
|---|---|
| RGB | rgb(138, 48, 75) |
| HSL | hsl(342, 48%, 36%) |
| HSV | hsv(342, 65%, 54%) |
| CMYK | cmyk(0%, 65.2%, 45.7%, 45.9%) |
| CIE-LAB | lab(34.04, 40.67, 4.18) |
| CIE-LCH | lch(34.04, 40.88, 5.87°) |
| OKLab | oklab(44.74% 0.124 0.0112) |
| OKLCH | oklch(44.74% 0.125 5.2) |
| XYZ | xyz(12.8091, 8.0267, 7.5300) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.85
Purple Red
#990147
ΔE00 5.38
Mulberry
#920A4E
ΔE00 5.78
Reddish Purple
#910951
ΔE00 6.44
Red Wine
#8C0034
ΔE00 6.72
Violet Red
#A50055
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A304B #308A6F
analogous
#8A3078 #8A304B #8A4230
triadic
#8A304B #4B8A30 #304B8A
tetradic
#8A304B #788A30 #308A6F #42308A
square
#8A304B #788A30 #308A6F #42308A
split-complementary
#8A304B #308A42 #30788A
monochromatic
#2F101A #5D2032 #8A304B #B74064 #CB6987
Accessibility & contrast
On white
8.06
#8A304B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#8A304B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A304B
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A304B | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43454C
Deuteranopia (green-blind)
#5A5749
Tritanopia (blue-blind)
#96243B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a304b; /* rgb */ color: rgb(138, 48, 75); /* oklch */ color: oklch(44.7% 0.125 5.2);
Tailwind
colors: {
custom: {
50: '#b06e7d',
500: '#8a304b',
950: '#000000',
},
}SCSS
$custom: #8a304b; $custom-light: #b06e7d; $custom-dark: #000000;
JSON
{
"hex": "#8a304b",
"rgb": {
"r": 138,
"g": 48,
"b": 75
},
"hsl": {
"h": 342,
"s": 48.387,
"l": 36.471
},
"oklch": {
"l": 0.44742,
"c": 0.12451,
"h": 5.2
},
"luminance": 0.08025
}Semantic roles & 50–950 ramp
primary
#8A304B
secondary
#64B29B
accent
#D8AF50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B