#A42F5E#A42F5E
#A42F5E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.157 H 0.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F5E |
|---|---|
| RGB | rgb(164, 47, 94) |
| HSL | hsl(336, 55%, 41%) |
| HSV | hsv(336, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 42.7%, 35.7%) |
| CIE-LAB | lab(39.13, 51.33, -0.01) |
| CIE-LCH | lch(39.13, 51.33, 359.99°) |
| OKLab | oklab(49.58% 0.1573 0.0006) |
| OKLCH | oklch(49.58% 0.157 0.2) |
| XYZ | xyz(18.3481, 10.7360, 11.6935) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.31
Dark Fuchsia
#9D0759
ΔE00 5.18
Deep Magenta
#A0025C
ΔE00 5.26
Light Burgundy
#A8415B
ΔE00 5.30
Berry
#990F4B
ΔE00 5.37
Purplish Red
#B0054B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F5E #2FA475
analogous
#A42F99 #A42F5E #A43A2F
triadic
#A42F5E #5EA42F #2F5EA4
tetradic
#A42F5E #99A42F #2FA475 #3A2FA4
square
#A42F5E #99A42F #2FA475 #3A2FA4
split-complementary
#A42F5E #2FA43A #2F99A4
monochromatic
#451427 #742143 #A42F5E #CA467B #D8769D
Accessibility & contrast
On white
6.67
#A42F5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A42F5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F5E
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F5E | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#67645B
Tritanopia (blue-blind)
#B21F43
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42f5e; /* rgb */ color: rgb(164, 47, 94); /* oklch */ color: oklch(49.6% 0.157 0.2);
Tailwind
colors: {
custom: {
50: '#c4718b',
500: '#a42f5e',
950: '#000000',
},
}SCSS
$custom: #a42f5e; $custom-light: #c4718b; $custom-dark: #000000;
JSON
{
"hex": "#a42f5e",
"rgb": {
"r": 164,
"g": 47,
"b": 94
},
"hsl": {
"h": 335.897,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.49584,
"c": 0.15732,
"h": 0.2
},
"luminance": 0.10734
}Semantic roles & 50–950 ramp
primary
#A42F5E
secondary
#6FC09F
accent
#DFA349
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D