#A42045#A42045
#A42045 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.167 H 10.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A42045 |
|---|---|
| RGB | rgb(164, 32, 69) |
| HSL | hsl(343, 67%, 38%) |
| HSV | hsv(343, 80%, 64%) |
| CMYK | cmyk(0%, 80.5%, 57.9%, 35.7%) |
| CIE-LAB | lab(36.66, 54.17, 12.45) |
| CIE-LCH | lch(36.66, 55.58, 12.95°) |
| OKLab | oklab(47.54% 0.1641 0.0312) |
| OKLCH | oklch(47.54% 0.167 10.8) |
| XYZ | xyz(16.9022, 9.3577, 6.5453) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.77
Purplish Red
#B0054B
ΔE00 2.97
Cranberry
#9E003A
ΔE00 3.21
Rouge
#AB1239
ΔE00 3.85
Purple Red
#990147
ΔE00 5.39
Berry
#990F4B
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42045 #20A47F
analogous
#A42087 #A42045 #A43D20
triadic
#A42045 #45A420 #2045A4
tetradic
#A42045 #87A420 #20A47F #3D20A4
square
#A42045 #87A420 #20A47F #3D20A4
split-complementary
#A42045 #20A43D #2087A4
monochromatic
#3E0C1A #71162F #A42045 #D62B5B #E05F83
Accessibility & contrast
On white
7.31
#A42045 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A42045 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A42045
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42045 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454546
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#B40030
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a42045; /* rgb */ color: rgb(164, 32, 69); /* oklch */ color: oklch(47.5% 0.167 10.8);
Tailwind
colors: {
custom: {
50: '#c66a78',
500: '#a42045',
950: '#000000',
},
}SCSS
$custom: #a42045; $custom-light: #c66a78; $custom-dark: #000000;
JSON
{
"hex": "#a42045",
"rgb": {
"r": 164,
"g": 32,
"b": 69
},
"hsl": {
"h": 343.182,
"s": 67.347,
"l": 38.431
},
"oklch": {
"l": 0.47543,
"c": 0.16704,
"h": 10.8
},
"luminance": 0.09355
}Semantic roles & 50–950 ramp
primary
#A42045
secondary
#5CC4A7
accent
#EABA3E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B