#A42F5F#A42F5F
#A42F5F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.158 H 359.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F5F |
|---|---|
| RGB | rgb(164, 47, 95) |
| HSL | hsl(335, 55%, 41%) |
| HSV | hsv(335, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 42.1%, 35.7%) |
| CIE-LAB | lab(39.16, 51.44, -0.60) |
| CIE-LCH | lch(39.16, 51.44, 359.33°) |
| OKLab | oklab(49.62% 0.1577 -0.0009) |
| OKLCH | oklch(49.62% 0.158 359.7) |
| XYZ | xyz(18.3932, 10.7541, 11.9314) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.32
Dark Fuchsia
#9D0759
ΔE00 5.09
Deep Magenta
#A0025C
ΔE00 5.13
Berry
#990F4B
ΔE00 5.48
Light Burgundy
#A8415B
ΔE00 5.50
Purplish Red
#B0054B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F5F #2FA474
analogous
#A42F9A #A42F5F #A43A2F
triadic
#A42F5F #5FA42F #2F5FA4
tetradic
#A42F5F #9AA42F #2FA474 #3A2FA4
square
#A42F5F #9AA42F #2FA474 #3A2FA4
split-complementary
#A42F5F #2FA43A #2F9AA4
monochromatic
#451428 #742143 #A42F5F #CA467C #D8769E
Accessibility & contrast
On white
6.67
#A42F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A42F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F5F
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F5F | 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)
#474E60
Deuteranopia (green-blind)
#67645C
Tritanopia (blue-blind)
#B22043
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42f5f; /* rgb */ color: rgb(164, 47, 95); /* oklch */ color: oklch(49.6% 0.158 359.7);
Tailwind
colors: {
custom: {
50: '#c4718c',
500: '#a42f5f',
950: '#000000',
},
}SCSS
$custom: #a42f5f; $custom-light: #c4718c; $custom-dark: #000000;
JSON
{
"hex": "#a42f5f",
"rgb": {
"r": 164,
"g": 47,
"b": 95
},
"hsl": {
"h": 335.385,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.49617,
"c": 0.15767,
"h": 359.7
},
"luminance": 0.10752
}Semantic roles & 50–950 ramp
primary
#A42F5F
secondary
#6FC09F
accent
#DFA149
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D