#A52F5A#A52F5A

#A52F5A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.6% C 0.157 H 2.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A52F5A
RGBrgb(165, 47, 90)
HSLhsl(338, 56%, 42%)
HSVhsv(338, 72%, 65%)
CMYKcmyk(0%, 71.5%, 45.5%, 35.3%)
CIE-LABlab(39.20, 51.23, 2.63)
CIE-LCHlch(39.20, 51.30, 2.94°)
OKLaboklab(49.63% 0.1568 0.0074)
OKLCHoklch(49.63% 0.157 2.7)
XYZxyz(18.3804, 10.7729, 10.7824)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F5A #2FA57A
analogous
#A52F95 #A52F5A #A53F2F
triadic
#A52F5A #5AA52F #2F5AA5
tetradic
#A52F5A #95A52F #2FA57A #3F2FA5
square
#A52F5A #95A52F #2FA57A #3F2FA5
split-complementary
#A52F5A #2FA53F #2F95A5
monochromatic
#461426 #752140 #A52F5A #CB4777 #D8769A

Accessibility & contrast

On white

6.66
#A52F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A52F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F5A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F5A#FFFFFF#000000##FFFFFF
##A52F5A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5B
Deuteranopia (green-blind)
#686557
Tritanopia (blue-blind)
#B31D41
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52f5a;
/* rgb */ color: rgb(165, 47, 90);
/* oklch */ color: oklch(49.6% 0.157 2.7);
Tailwind
colors: {
  custom: {
    50: '#c57188',
    500: '#a52f5a',
    950: '#000000',
  },
}
SCSS
$custom: #a52f5a;
$custom-light: #c57188;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f5a",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 338.136,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49625,
    "c": 0.15699,
    "h": 2.7
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#A52F5A
secondary
#70C0A3
accent
#DFA849
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A52F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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