#A01840#A01840
#A01840 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 11.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A01840 |
|---|---|
| RGB | rgb(160, 24, 64) |
| HSL | hsl(342, 74%, 36%) |
| HSV | hsv(342, 85%, 63%) |
| CMYK | cmyk(0%, 85%, 60%, 37.3%) |
| CIE-LAB | lab(35.00, 54.80, 13.29) |
| CIE-LCH | lch(35.00, 56.39, 13.63°) |
| OKLab | oklab(46.14% 0.1658 0.033) |
| OKLCH | oklch(46.14% 0.169 11.3) |
| XYZ | xyz(15.7509, 8.4994, 5.6607) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.82
Raspberry (survey)
#B00149
ΔE00 3.38
Purplish Red
#B0054B
ΔE00 3.67
Rouge
#AB1239
ΔE00 3.72
Red Wine
#8C0034
ΔE00 4.82
Purple Red
#990147
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A01840 #18A078
analogous
#A01884 #A01840 #A03418
triadic
#A01840 #40A018 #1840A0
tetradic
#A01840 #84A018 #18A078 #3418A0
square
#A01840 #84A018 #18A078 #3418A0
split-complementary
#A01840 #18A034 #1884A0
monochromatic
#360815 #6B102B #A01840 #D52055 #E44E7A
Accessibility & contrast
On white
7.78
#A01840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#A01840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A01840
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A01840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A01840 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414141
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#B0002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #a01840; /* rgb */ color: rgb(160, 24, 64); /* oklch */ color: oklch(46.1% 0.169 11.3);
Tailwind
colors: {
custom: {
50: '#c36674',
500: '#a01840',
950: '#000000',
},
}SCSS
$custom: #a01840; $custom-light: #c36674; $custom-dark: #000000;
JSON
{
"hex": "#a01840",
"rgb": {
"r": 160,
"g": 24,
"b": 64
},
"hsl": {
"h": 342.353,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.46137,
"c": 0.16904,
"h": 11.3
},
"luminance": 0.08497
}Semantic roles & 50–950 ramp
primary
#A01840
secondary
#4DC6A3
accent
#F1BA37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B