#A42F5D#A42F5D
#A42F5D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.157 H 0.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F5D |
|---|---|
| RGB | rgb(164, 47, 93) |
| HSL | hsl(336, 55%, 41%) |
| HSV | hsv(336, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 43.3%, 35.7%) |
| CIE-LAB | lab(39.10, 51.23, 0.58) |
| CIE-LCH | lch(39.10, 51.23, 0.65°) |
| OKLab | oklab(49.55% 0.157 0.0021) |
| OKLCH | oklch(49.55% 0.157 0.8) |
| XYZ | xyz(18.3035, 10.7182, 11.4588) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.31
Light Burgundy
#A8415B
ΔE00 5.10
Berry
#990F4B
ΔE00 5.27
Dark Fuchsia
#9D0759
ΔE00 5.29
Deep Magenta
#A0025C
ΔE00 5.39
Purplish Red
#B0054B
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F5D #2FA476
analogous
#A42F98 #A42F5D #A43C2F
triadic
#A42F5D #5DA42F #2F5DA4
tetradic
#A42F5D #98A42F #2FA476 #3C2FA4
square
#A42F5D #98A42F #2FA476 #3C2FA4
split-complementary
#A42F5D #2FA43C #2F98A4
monochromatic
#451427 #742142 #A42F5D #CA467A #D8769C
Accessibility & contrast
On white
6.68
#A42F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#A42F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F5D
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F5D | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#B21F42
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42f5d; /* rgb */ color: rgb(164, 47, 93); /* oklch */ color: oklch(49.6% 0.157 0.8);
Tailwind
colors: {
custom: {
50: '#c4718a',
500: '#a42f5d',
950: '#000000',
},
}SCSS
$custom: #a42f5d; $custom-light: #c4718a; $custom-dark: #000000;
JSON
{
"hex": "#a42f5d",
"rgb": {
"r": 164,
"g": 47,
"b": 93
},
"hsl": {
"h": 336.41,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.49551,
"c": 0.15699,
"h": 0.8
},
"luminance": 0.10716
}Semantic roles & 50–950 ramp
primary
#A42F5D
secondary
#6FC0A0
accent
#DFA449
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C