#A42256#A42256
#A42256 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.169 H 2.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A42256 |
|---|---|
| RGB | rgb(164, 34, 86) |
| HSL | hsl(336, 66%, 39%) |
| HSV | hsv(336, 79%, 64%) |
| CMYK | cmyk(0%, 79.3%, 47.6%, 35.7%) |
| CIE-LAB | lab(37.32, 54.97, 2.45) |
| CIE-LCH | lch(37.32, 55.02, 2.55°) |
| OKLab | oklab(48.17% 0.1687 0.0069) |
| OKLCH | oklch(48.17% 0.169 2.3) |
| XYZ | xyz(17.5631, 9.7109, 9.7518) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.67
Berry
#990F4B
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 4.05
Purple Red
#990147
ΔE00 4.26
Dark Fuchsia
#9D0759
ΔE00 4.32
Raspberry (survey)
#B00149
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42256 #22A470
analogous
#A42297 #A42256 #A42F22
triadic
#A42256 #56A422 #2256A4
tetradic
#A42256 #97A422 #22A470 #2F22A4
square
#A42256 #97A422 #22A470 #2F22A4
split-complementary
#A42256 #22A42F #2297A4
monochromatic
#3F0D21 #71173B #A42256 #D42F71 #DE6294
Accessibility & contrast
On white
7.14
#A42256 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A42256 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A42256
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42256 | 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)
#424857
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#B30039
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a42256; /* rgb */ color: rgb(164, 34, 86); /* oklch */ color: oklch(48.2% 0.169 2.3);
Tailwind
colors: {
custom: {
50: '#c56b85',
500: '#a42256',
950: '#000000',
},
}SCSS
$custom: #a42256; $custom-light: #c56b85; $custom-dark: #000000;
JSON
{
"hex": "#a42256",
"rgb": {
"r": 164,
"g": 34,
"b": 86
},
"hsl": {
"h": 336,
"s": 65.657,
"l": 38.824
},
"oklch": {
"l": 0.4817,
"c": 0.16879,
"h": 2.3
},
"luminance": 0.09708
}Semantic roles & 50–950 ramp
primary
#A42256
secondary
#5EC49B
accent
#E9A53F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C