#A52056#A52056

#A52056 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.171 H 2.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A52056
RGBrgb(165, 32, 86)
HSLhsl(336, 68%, 39%)
HSVhsv(336, 81%, 65%)
CMYKcmyk(0%, 80.6%, 47.9%, 35.3%)
CIE-LABlab(37.31, 55.82, 2.46)
CIE-LCHlch(37.31, 55.87, 2.52°)
OKLaboklab(48.2% 0.1713 0.0069)
OKLCHoklch(48.2% 0.171 2.3)
XYZxyz(17.7148, 9.7067, 9.7431)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52056 #20A56F
analogous
#A52098 #A52056 #A52C20
triadic
#A52056 #56A520 #2056A5
tetradic
#A52056 #98A520 #20A56F #2C20A5
square
#A52056 #98A520 #20A56F #2C20A5
split-complementary
#A52056 #20A52C #2098A5
monochromatic
#3E0C21 #72163B #A52056 #D62C71 #E05F94

Accessibility & contrast

On white

7.14
#A52056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A52056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A52056
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52056#FFFFFF#000000##FFFFFF
##A520561.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414757
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#B40038
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a52056;
/* rgb */ color: rgb(165, 32, 86);
/* oklch */ color: oklch(48.2% 0.171 2.3);
Tailwind
colors: {
  custom: {
    50: '#c56a85',
    500: '#a52056',
    950: '#000000',
  },
}
SCSS
$custom: #a52056;
$custom-light: #c56a85;
$custom-dark: #000000;
JSON
{
  "hex": "#a52056",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 335.639,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.482,
    "c": 0.17146,
    "h": 2.3
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#A52056
secondary
#5CC59A
accent
#EAA43D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A52056

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

Preview Lab → · Contrast checker → · Palette generator →

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