#A52D5A#A52D5A

#A52D5A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.159 H 2.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A52D5A
RGBrgb(165, 45, 90)
HSLhsl(338, 57%, 41%)
HSVhsv(338, 73%, 65%)
CMYKcmyk(0%, 72.7%, 45.5%, 35.3%)
CIE-LABlab(38.93, 51.98, 2.25)
CIE-LCHlch(38.93, 52.02, 2.48°)
OKLaboklab(49.43% 0.1592 0.0064)
OKLCHoklch(49.43% 0.159 2.3)
XYZxyz(18.3023, 10.6167, 10.7563)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D5A #2DA578
analogous
#A52D96 #A52D5A #A53C2D
triadic
#A52D5A #5AA52D #2D5AA5
tetradic
#A52D5A #96A52D #2DA578 #3C2DA5
square
#A52D5A #96A52D #2DA578 #3C2DA5
split-complementary
#A52D5A #2DA53C #2D96A5
monochromatic
#451326 #752040 #A52D5A #CC4377 #D9739A

Accessibility & contrast

On white

6.72
#A52D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A52D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D5A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D5A#FFFFFF#000000##FFFFFF
##A52D5A1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#686457
Tritanopia (blue-blind)
#B31940
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52d5a;
/* rgb */ color: rgb(165, 45, 90);
/* oklch */ color: oklch(49.4% 0.159 2.3);
Tailwind
colors: {
  custom: {
    50: '#c57088',
    500: '#a52d5a',
    950: '#000000',
  },
}
SCSS
$custom: #a52d5a;
$custom-light: #c57088;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d5a",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 337.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.15933,
    "h": 2.3
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#A52D5A
secondary
#6DC1A1
accent
#E0A747
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A52D5A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A52D5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva