#A01442#A01442
#A01442 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.172 H 9.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A01442 |
|---|---|
| RGB | rgb(160, 20, 66) |
| HSL | hsl(340, 78%, 35%) |
| HSV | hsv(340, 88%, 63%) |
| CMYK | cmyk(0%, 87.5%, 58.8%, 37.3%) |
| CIE-LAB | lab(34.74, 55.82, 11.63) |
| CIE-LCH | lch(34.74, 57.02, 11.77°) |
| OKLab | oklab(45.96% 0.1695 0.0291) |
| OKLCH | oklch(45.96% 0.172 9.8) |
| XYZ | xyz(15.7324, 8.3696, 5.9403) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.96
Raspberry (survey)
#B00149
ΔE00 3.00
Purplish Red
#B0054B
ΔE00 3.21
Purple Red
#990147
ΔE00 3.97
Berry
#990F4B
ΔE00 4.29
Rouge
#AB1239
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A01442 #14A072
analogous
#A01488 #A01442 #A02C14
triadic
#A01442 #42A014 #1442A0
tetradic
#A01442 #88A014 #14A072 #2C14A0
square
#A01442 #88A014 #14A072 #2C14A0
split-complementary
#A01442 #14A02C #1488A0
monochromatic
#330615 #6A0D2C #A01442 #D61B58 #E8467C
Accessibility & contrast
On white
7.86
#A01442 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#A01442 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A01442
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A01442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A01442 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#625B3E
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #a01442; /* rgb */ color: rgb(160, 20, 66); /* oklch */ color: oklch(46.0% 0.172 9.8);
Tailwind
colors: {
custom: {
50: '#c36576',
500: '#a01442',
950: '#000000',
},
}SCSS
$custom: #a01442; $custom-light: #c36576; $custom-dark: #000000;
JSON
{
"hex": "#a01442",
"rgb": {
"r": 160,
"g": 20,
"b": 66
},
"hsl": {
"h": 340.286,
"s": 77.778,
"l": 35.294
},
"oklch": {
"l": 0.45961,
"c": 0.17194,
"h": 9.8
},
"luminance": 0.08367
}Semantic roles & 50–950 ramp
primary
#A01442
secondary
#47C99E
accent
#F4B534
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B