#A52786#A52786

#A52786 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 340.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A52786
RGBrgb(165, 39, 134)
HSLhsl(315, 62%, 40%)
HSVhsv(315, 76%, 65%)
CMYKcmyk(0%, 76.4%, 18.8%, 35.3%)
CIE-LABlab(39.87, 59.25, -23.85)
CIE-LCHlch(39.87, 63.87, 338.08°)
OKLaboklab(50.66% 0.1768 -0.0644)
OKLCHoklch(50.66% 0.188 340)
XYZxyz(20.5462, 11.1737, 23.6243)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52786 #27A546
analogous
#8527A5 #A52786 #A52747
triadic
#A52786 #86A527 #2786A5
tetradic
#A52786 #A58527 #27A546 #2747A5
square
#A52786 #A58527 #27A546 #2747A5
split-complementary
#A52786 #47A527 #27A585
monochromatic
#421036 #741B5E #A52786 #D039AB #DC6AC0

Accessibility & contrast

On white

6.49
#A52786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A52786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52786
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52786#FFFFFF#000000##FFFFFF
##A527861.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#5A6583
Tritanopia (blue-blind)
#AF2B54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52786;
/* rgb */ color: rgb(165, 39, 134);
/* oklch */ color: oklch(50.7% 0.188 340.0);
Tailwind
colors: {
  custom: {
    50: '#c46fa9',
    500: '#a52786',
    950: '#000000',
  },
}
SCSS
$custom: #a52786;
$custom-light: #c46fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52786",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 314.762,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50662,
    "c": 0.18817,
    "h": 340
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#A52786
secondary
#66C27C
accent
#E56B43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52786

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

Preview Lab → · Contrast checker → · Palette generator →

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