#A52F5D#A52F5D
#A52F5D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.158 H 1.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A52F5D |
|---|---|
| RGB | rgb(165, 47, 93) |
| HSL | hsl(337, 56%, 42%) |
| HSV | hsv(337, 72%, 65%) |
| CMYK | cmyk(0%, 71.5%, 43.6%, 35.3%) |
| CIE-LAB | lab(39.28, 51.53, 0.87) |
| CIE-LCH | lch(39.28, 51.54, 0.96°) |
| OKLab | oklab(49.72% 0.1579 0.0028) |
| OKLCH | oklch(49.72% 0.158 1) |
| XYZ | xyz(18.5107, 10.8250, 11.4685) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 4.95
Berry
#990F4B
ΔE00 5.36
Purplish Red
#B0054B
ΔE00 5.41
Dark Fuchsia
#9D0759
ΔE00 5.45
Deep Magenta
#A0025C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52F5D #2FA577
analogous
#A52F98 #A52F5D #A53C2F
triadic
#A52F5D #5DA52F #2F5DA5
tetradic
#A52F5D #98A52F #2FA577 #3C2FA5
square
#A52F5D #98A52F #2FA577 #3C2FA5
split-complementary
#A52F5D #2FA53C #2F98A5
monochromatic
#461427 #752142 #A52F5D #CB477A #D8769C
Accessibility & contrast
On white
6.64
#A52F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#A52F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52F5D
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52F5D | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#68655A
Tritanopia (blue-blind)
#B31E42
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a52f5d; /* rgb */ color: rgb(165, 47, 93); /* oklch */ color: oklch(49.7% 0.158 1.0);
Tailwind
colors: {
custom: {
50: '#c5718a',
500: '#a52f5d',
950: '#000000',
},
}SCSS
$custom: #a52f5d; $custom-light: #c5718a; $custom-dark: #000000;
JSON
{
"hex": "#a52f5d",
"rgb": {
"r": 165,
"g": 47,
"b": 93
},
"hsl": {
"h": 336.61,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.4972,
"c": 0.15792,
"h": 1
},
"luminance": 0.10823
}Semantic roles & 50–950 ramp
primary
#A52F5D
secondary
#70C0A1
accent
#DFA449
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C