#A52F5F#A52F5F
#A52F5F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.159 H 359.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A52F5F |
|---|---|
| RGB | rgb(165, 47, 95) |
| HSL | hsl(336, 56%, 42%) |
| HSV | hsv(336, 72%, 65%) |
| CMYK | cmyk(0%, 71.5%, 42.4%, 35.3%) |
| CIE-LAB | lab(39.35, 51.73, -0.31) |
| CIE-LCH | lch(39.35, 51.73, 359.66°) |
| OKLab | oklab(49.79% 0.1586 -0.0002) |
| OKLCH | oklch(49.79% 0.159 359.9) |
| XYZ | xyz(18.6005, 10.8609, 11.9411) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.38
Dark Fuchsia
#9D0759
ΔE00 5.23
Deep Magenta
#A0025C
ΔE00 5.27
Light Burgundy
#A8415B
ΔE00 5.35
Berry
#990F4B
ΔE00 5.56
Purplish Red
#B0054B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52F5F #2FA575
analogous
#A52F9A #A52F5F #A53A2F
triadic
#A52F5F #5FA52F #2F5FA5
tetradic
#A52F5F #9AA52F #2FA575 #3A2FA5
square
#A52F5F #9AA52F #2FA575 #3A2FA5
split-complementary
#A52F5F #2FA53A #2F9AA5
monochromatic
#461428 #752144 #A52F5F #CB477C #D8769E
Accessibility & contrast
On white
6.62
#A52F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#A52F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52F5F
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52F5F | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#67655C
Tritanopia (blue-blind)
#B31F43
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a52f5f; /* rgb */ color: rgb(165, 47, 95); /* oklch */ color: oklch(49.8% 0.159 359.9);
Tailwind
colors: {
custom: {
50: '#c4718c',
500: '#a52f5f',
950: '#000000',
},
}SCSS
$custom: #a52f5f; $custom-light: #c4718c; $custom-dark: #000000;
JSON
{
"hex": "#a52f5f",
"rgb": {
"r": 165,
"g": 47,
"b": 95
},
"hsl": {
"h": 335.593,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.49785,
"c": 0.15858,
"h": 359.9
},
"luminance": 0.10859
}Semantic roles & 50–950 ramp
primary
#A52F5F
secondary
#70C09F
accent
#DFA249
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D