#A52684#A52684

#A52684 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 340.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A52684
RGBrgb(165, 38, 132)
HSLhsl(316, 63%, 40%)
HSVhsv(316, 77%, 65%)
CMYKcmyk(0%, 77%, 20%, 35.3%)
CIE-LABlab(39.67, 59.29, -22.93)
CIE-LCHlch(39.67, 63.57, 338.86°)
OKLaboklab(50.49% 0.1775 -0.0618)
OKLCHoklch(50.49% 0.188 340.8)
XYZxyz(20.3757, 11.0536, 22.8858)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52684 #26A547
analogous
#8726A5 #A52684 #A52644
triadic
#A52684 #84A526 #2684A5
tetradic
#A52684 #A58726 #26A547 #2644A5
square
#A52684 #A58726 #26A547 #2644A5
split-complementary
#A52684 #44A526 #26A587
monochromatic
#420F34 #731B5C #A52684 #D137A9 #DC69BE

Accessibility & contrast

On white

6.54
#A52684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A52684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52684
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52684#FFFFFF#000000##FFFFFF
##A526841.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315087
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#AF2952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52684;
/* rgb */ color: rgb(165, 38, 132);
/* oklch */ color: oklch(50.5% 0.188 340.8);
Tailwind
colors: {
  custom: {
    50: '#c46ea8',
    500: '#a52684',
    950: '#000000',
  },
}
SCSS
$custom: #a52684;
$custom-light: #c46ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52684",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 315.591,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.18792,
    "h": 340.8
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#A52684
secondary
#64C37D
accent
#E66D42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52684

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

Preview Lab → · Contrast checker → · Palette generator →

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