#A8254C#A8254C
#A8254C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.167 H 8.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A8254C |
|---|---|
| RGB | rgb(168, 37, 76) |
| HSL | hsl(342, 64%, 40%) |
| HSV | hsv(342, 78%, 66%) |
| CMYK | cmyk(0%, 78%, 54.8%, 34.1%) |
| CIE-LAB | lab(38.15, 54.34, 10.14) |
| CIE-LCH | lch(38.15, 55.28, 10.57°) |
| OKLab | oklab(48.84% 0.1652 0.0258) |
| OKLCH | oklch(48.84% 0.167 8.9) |
| XYZ | xyz(18.1162, 10.1724, 7.8456) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.38
Raspberry (survey)
#B00149
ΔE00 2.46
Cranberry
#9E003A
ΔE00 4.74
Light Burgundy
#A8415B
ΔE00 5.05
Rouge
#AB1239
ΔE00 5.14
Berry
#990F4B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8254C #25A881
analogous
#A8258E #A8254C #A83F25
triadic
#A8254C #4CA825 #254CA8
tetradic
#A8254C #8EA825 #25A881 #3F25A8
square
#A8254C #8EA825 #25A881 #3F25A8
split-complementary
#A8254C #25A83F #258EA8
monochromatic
#440F1F #761A35 #A8254C #D33766 #DE698C
Accessibility & contrast
On white
6.92
#A8254C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A8254C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8254C
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8254C | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494D
Deuteranopia (green-blind)
#6A6349
Tritanopia (blue-blind)
#B80036
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a8254c; /* rgb */ color: rgb(168, 37, 76); /* oklch */ color: oklch(48.8% 0.167 8.9);
Tailwind
colors: {
custom: {
50: '#c86c7d',
500: '#a8254c',
950: '#000000',
},
}SCSS
$custom: #a8254c; $custom-light: #c86c7d; $custom-dark: #000000;
JSON
{
"hex": "#a8254c",
"rgb": {
"r": 168,
"g": 37,
"b": 76
},
"hsl": {
"h": 342.137,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.48835,
"c": 0.16723,
"h": 8.9
},
"luminance": 0.1017
}Semantic roles & 50–950 ramp
primary
#A8254C
secondary
#65C4A8
accent
#E7B541
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B