#A42E5F#A42E5F
#A42E5F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.159 H 359.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A42E5F |
|---|---|
| RGB | rgb(164, 46, 95) |
| HSL | hsl(335, 56%, 41%) |
| HSV | hsv(335, 72%, 64%) |
| CMYK | cmyk(0%, 72%, 42.1%, 35.7%) |
| CIE-LAB | lab(39.03, 51.81, -0.80) |
| CIE-LCH | lch(39.03, 51.82, 359.12°) |
| OKLab | oklab(49.52% 0.1589 -0.0015) |
| OKLCH | oklch(49.52% 0.159 359.5) |
| XYZ | xyz(18.3537, 10.6750, 11.9182) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.17
Dark Fuchsia
#9D0759
ΔE00 4.91
Deep Magenta
#A0025C
ΔE00 4.94
Berry
#990F4B
ΔE00 5.38
Light Burgundy
#A8415B
ΔE00 5.69
Purplish Red
#B0054B
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42E5F #2EA473
analogous
#A42E9A #A42E5F #A4382E
triadic
#A42E5F #5FA42E #2E5FA4
tetradic
#A42E5F #9AA42E #2EA473 #382EA4
square
#A42E5F #9AA42E #2EA473 #382EA4
split-complementary
#A42E5F #2EA438 #2E9AA4
monochromatic
#441328 #742143 #A42E5F #CB457C #D8749E
Accessibility & contrast
On white
6.70
#A42E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#A42E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42E5F
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42E5F | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B21E43
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42e5f; /* rgb */ color: rgb(164, 46, 95); /* oklch */ color: oklch(49.5% 0.159 359.5);
Tailwind
colors: {
custom: {
50: '#c4708c',
500: '#a42e5f',
950: '#000000',
},
}SCSS
$custom: #a42e5f; $custom-light: #c4708c; $custom-dark: #000000;
JSON
{
"hex": "#a42e5f",
"rgb": {
"r": 164,
"g": 46,
"b": 95
},
"hsl": {
"h": 335.085,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.49517,
"c": 0.15888,
"h": 359.5
},
"luminance": 0.10673
}Semantic roles & 50–950 ramp
primary
#A42E5F
secondary
#6EC09E
accent
#DFA148
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D