#A52052#A52052

#A52052 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.170 H 4.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A52052
RGBrgb(165, 32, 82)
HSLhsl(337, 68%, 39%)
HSVhsv(337, 81%, 65%)
CMYKcmyk(0%, 80.6%, 50.3%, 35.3%)
CIE-LABlab(37.20, 55.47, 4.86)
CIE-LCHlch(37.20, 55.68, 5.01°)
OKLaboklab(48.08% 0.1699 0.0129)
OKLCHoklch(48.08% 0.17 4.4)
XYZxyz(17.5581, 9.6440, 8.9179)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52052 #20A573
analogous
#A52094 #A52052 #A53120
triadic
#A52052 #52A520 #2052A5
tetradic
#A52052 #94A520 #20A573 #3120A5
square
#A52052 #94A520 #20A573 #3120A5
split-complementary
#A52052 #20A531 #2094A5
monochromatic
#3E0C1F #721639 #A52052 #D62C6C #E05F90

Accessibility & contrast

On white

7.17
#A52052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A52052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52052
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52052#FFFFFF#000000##FFFFFF
##A520521.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a52052;
/* rgb */ color: rgb(165, 32, 82);
/* oklch */ color: oklch(48.1% 0.170 4.4);
Tailwind
colors: {
  custom: {
    50: '#c66a82',
    500: '#a52052',
    950: '#000000',
  },
}
SCSS
$custom: #a52052;
$custom-light: #c66a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a52052",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 337.444,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.17037,
    "h": 4.4
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#A52052
secondary
#5CC59D
accent
#EAA93D
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A52052

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

Preview Lab → · Contrast checker → · Palette generator →

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