#A8254E#A8254E
#A8254E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.168 H 7.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A8254E |
|---|---|
| RGB | rgb(168, 37, 78) |
| HSL | hsl(341, 64%, 40%) |
| HSV | hsv(341, 78%, 66%) |
| CMYK | cmyk(0%, 78%, 53.6%, 34.1%) |
| CIE-LAB | lab(38.20, 54.50, 8.93) |
| CIE-LCH | lch(38.20, 55.23, 9.30°) |
| OKLab | oklab(48.89% 0.166 0.0229) |
| OKLCH | oklch(48.89% 0.168 7.9) |
| XYZ | xyz(18.1869, 10.2006, 8.2175) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.30
Raspberry (survey)
#B00149
ΔE00 2.51
Light Burgundy
#A8415B
ΔE00 4.94
Berry
#990F4B
ΔE00 5.03
Cranberry
#9E003A
ΔE00 5.06
Purple Red
#990147
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8254E #25A87F
analogous
#A82590 #A8254E #A83D25
triadic
#A8254E #4EA825 #254EA8
tetradic
#A8254E #90A825 #25A87F #3D25A8
square
#A8254E #90A825 #25A87F #3D25A8
split-complementary
#A8254E #25A83D #2590A8
monochromatic
#440F1F #761A37 #A8254E #D33768 #DE698E
Accessibility & contrast
On white
6.91
#A8254E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#A8254E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8254E
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8254E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8254E | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B80037
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a8254e; /* rgb */ color: rgb(168, 37, 78); /* oklch */ color: oklch(48.9% 0.168 7.9);
Tailwind
colors: {
custom: {
50: '#c86d7f',
500: '#a8254e',
950: '#000000',
},
}SCSS
$custom: #a8254e; $custom-light: #c86d7f; $custom-dark: #000000;
JSON
{
"hex": "#a8254e",
"rgb": {
"r": 168,
"g": 37,
"b": 78
},
"hsl": {
"h": 341.221,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.48888,
"c": 0.16758,
"h": 7.9
},
"luminance": 0.10198
}Semantic roles & 50–950 ramp
primary
#A8254E
secondary
#65C4A6
accent
#E7B341
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C