#A81E4B#A81E4B
#A81E4B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.173 H 8.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A81E4B |
|---|---|
| RGB | rgb(168, 30, 75) |
| HSL | hsl(340, 70%, 39%) |
| HSV | hsv(340, 82%, 66%) |
| CMYK | cmyk(0%, 82.1%, 55.4%, 34.1%) |
| CIE-LAB | lab(37.42, 56.28, 9.76) |
| CIE-LCH | lch(37.42, 57.12, 9.83°) |
| OKLab | oklab(48.29% 0.1713 0.0249) |
| OKLCH | oklch(48.29% 0.173 8.3) |
| XYZ | xyz(17.8845, 9.7640, 7.5982) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.74
Raspberry (survey)
#B00149
ΔE00 1.84
Cranberry
#9E003A
ΔE00 4.27
Berry
#990F4B
ΔE00 4.70
Purple Red
#990147
ΔE00 4.84
Violet Red
#A50055
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81E4B #1EA87B
analogous
#A81E90 #A81E4B #A8361E
triadic
#A81E4B #4BA81E #1E4BA8
tetradic
#A81E4B #90A81E #1EA87B #361EA8
square
#A81E4B #90A81E #1EA87B #361EA8
split-complementary
#A81E4B #1EA836 #1E90A8
monochromatic
#400B1D #741534 #A81E4B #D92A63 #E25E89
Accessibility & contrast
On white
7.11
#A81E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A81E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81E4B
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81E4B | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45464C
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#B80032
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a81e4b; /* rgb */ color: rgb(168, 30, 75); /* oklch */ color: oklch(48.3% 0.173 8.3);
Tailwind
colors: {
custom: {
50: '#c86a7c',
500: '#a81e4b',
950: '#000000',
},
}SCSS
$custom: #a81e4b; $custom-light: #c86a7c; $custom-dark: #000000;
JSON
{
"hex": "#a81e4b",
"rgb": {
"r": 168,
"g": 30,
"b": 75
},
"hsl": {
"h": 340.435,
"s": 69.697,
"l": 38.824
},
"oklch": {
"l": 0.48286,
"c": 0.17313,
"h": 8.3
},
"luminance": 0.09761
}Semantic roles & 50–950 ramp
primary
#A81E4B
secondary
#5BC7A4
accent
#EDB33B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B