#A81F42#A81F42
#A81F42 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.171 H 12.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F42 |
|---|---|
| RGB | rgb(168, 31, 66) |
| HSL | hsl(345, 69%, 39%) |
| HSV | hsv(345, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 60.7%, 34.1%) |
| CIE-LAB | lab(37.30, 55.38, 15.38) |
| CIE-LCH | lch(37.30, 57.47, 15.52°) |
| OKLab | oklab(48.13% 0.1669 0.0379) |
| OKLCH | oklch(48.13% 0.171 12.8) |
| XYZ | xyz(17.6236, 9.7008, 6.0977) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.47
Raspberry (survey)
#B00149
ΔE00 3.36
Cranberry
#9E003A
ΔE00 3.60
Purplish Red
#B0054B
ΔE00 3.68
Rose Red
#BE013C
ΔE00 4.68
Ruby
#CA0147
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F42 #1FA885
analogous
#A81F87 #A81F42 #A8411F
triadic
#A81F42 #42A81F #1F42A8
tetradic
#A81F42 #87A81F #1FA885 #411FA8
square
#A81F42 #87A81F #1FA885 #411FA8
split-complementary
#A81F42 #1FA841 #1F87A8
monochromatic
#410C19 #74152E #A81F42 #D82C58 #E26081
Accessibility & contrast
On white
7.14
#A81F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A81F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F42
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F42 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#6A623E
Tritanopia (blue-blind)
#B8002F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a81f42; /* rgb */ color: rgb(168, 31, 66); /* oklch */ color: oklch(48.1% 0.171 12.8);
Tailwind
colors: {
custom: {
50: '#c96a76',
500: '#a81f42',
950: '#000000',
},
}SCSS
$custom: #a81f42; $custom-light: #c96a76; $custom-dark: #000000;
JSON
{
"hex": "#a81f42",
"rgb": {
"r": 168,
"g": 31,
"b": 66
},
"hsl": {
"h": 344.672,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48132,
"c": 0.17118,
"h": 12.8
},
"luminance": 0.09698
}Semantic roles & 50–950 ramp
primary
#A81F42
secondary
#5DC6AB
accent
#ECBF3C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B