#A8254B#A8254B
#A8254B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.167 H 9.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A8254B |
|---|---|
| RGB | rgb(168, 37, 75) |
| HSL | hsl(343, 64%, 40%) |
| HSV | hsv(343, 78%, 66%) |
| CMYK | cmyk(0%, 78%, 55.4%, 34.1%) |
| CIE-LAB | lab(38.13, 54.27, 10.74) |
| CIE-LCH | lch(38.13, 55.32, 11.20°) |
| OKLab | oklab(48.81% 0.1648 0.0272) |
| OKLCH | oklch(48.81% 0.167 9.4) |
| XYZ | xyz(18.0817, 10.1586, 7.6639) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.47
Raspberry (survey)
#B00149
ΔE00 2.49
Cranberry
#9E003A
ΔE00 4.60
Rouge
#AB1239
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 5.13
Berry
#990F4B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8254B #25A882
analogous
#A8258D #A8254B #A84025
triadic
#A8254B #4BA825 #254BA8
tetradic
#A8254B #8DA825 #25A882 #4025A8
square
#A8254B #8DA825 #25A882 #4025A8
split-complementary
#A8254B #25A840 #258DA8
monochromatic
#440F1E #761A35 #A8254B #D33764 #DE698B
Accessibility & contrast
On white
6.93
#A8254B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A8254B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A8254B
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8254B | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494C
Deuteranopia (green-blind)
#6A6348
Tritanopia (blue-blind)
#B80035
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a8254b; /* rgb */ color: rgb(168, 37, 75); /* oklch */ color: oklch(48.8% 0.167 9.4);
Tailwind
colors: {
custom: {
50: '#c86c7d',
500: '#a8254b',
950: '#000000',
},
}SCSS
$custom: #a8254b; $custom-light: #c86c7d; $custom-dark: #000000;
JSON
{
"hex": "#a8254b",
"rgb": {
"r": 168,
"g": 37,
"b": 75
},
"hsl": {
"h": 342.595,
"s": 63.902,
"l": 40.196
},
"oklch": {
"l": 0.48809,
"c": 0.16708,
"h": 9.4
},
"luminance": 0.10156
}Semantic roles & 50–950 ramp
primary
#A8254B
secondary
#65C4A8
accent
#E7B741
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B