#A42E5D#A42E5D
#A42E5D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.158 H 0.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A42E5D |
|---|---|
| RGB | rgb(164, 46, 93) |
| HSL | hsl(336, 56%, 41%) |
| HSV | hsv(336, 72%, 64%) |
| CMYK | cmyk(0%, 72%, 43.3%, 35.7%) |
| CIE-LAB | lab(38.97, 51.61, 0.38) |
| CIE-LCH | lch(38.97, 51.61, 0.42°) |
| OKLab | oklab(49.45% 0.1582 0.0016) |
| OKLCH | oklch(49.45% 0.158 0.6) |
| XYZ | xyz(18.2640, 10.6391, 11.4456) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.14
Dark Fuchsia
#9D0759
ΔE00 5.11
Berry
#990F4B
ΔE00 5.16
Deep Magenta
#A0025C
ΔE00 5.21
Light Burgundy
#A8415B
ΔE00 5.29
Purplish Red
#B0054B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42E5D #2EA475
analogous
#A42E98 #A42E5D #A43A2E
triadic
#A42E5D #5DA42E #2E5DA4
tetradic
#A42E5D #98A42E #2EA475 #3A2EA4
square
#A42E5D #98A42E #2EA475 #3A2EA4
split-complementary
#A42E5D #2EA43A #2E98A4
monochromatic
#441327 #742142 #A42E5D #CB457A #D8749C
Accessibility & contrast
On white
6.71
#A42E5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#A42E5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42E5D
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42E5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42E5D | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#B21D42
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42e5d; /* rgb */ color: rgb(164, 46, 93); /* oklch */ color: oklch(49.5% 0.158 0.6);
Tailwind
colors: {
custom: {
50: '#c4708a',
500: '#a42e5d',
950: '#000000',
},
}SCSS
$custom: #a42e5d; $custom-light: #c4708a; $custom-dark: #000000;
JSON
{
"hex": "#a42e5d",
"rgb": {
"r": 164,
"g": 46,
"b": 93
},
"hsl": {
"h": 336.102,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.49451,
"c": 0.15819,
"h": 0.6
},
"luminance": 0.10637
}Semantic roles & 50–950 ramp
primary
#A42E5D
secondary
#6EC09F
accent
#DFA348
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C