#A52682#A52682

#A52682 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 341.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A52682
RGBrgb(165, 38, 130)
HSLhsl(317, 63%, 40%)
HSVhsv(317, 77%, 65%)
CMYKcmyk(0%, 77%, 21.2%, 35.3%)
CIE-LABlab(39.58, 59.01, -21.84)
CIE-LCHlch(39.58, 62.92, 339.69°)
OKLaboklab(50.39% 0.1772 -0.0587)
OKLCHoklch(50.39% 0.187 341.7)
XYZxyz(20.2401, 10.9994, 22.1719)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52682 #26A549
analogous
#8826A5 #A52682 #A52643
triadic
#A52682 #82A526 #2682A5
tetradic
#A52682 #A58826 #26A549 #2643A5
square
#A52682 #A58826 #26A549 #2643A5
split-complementary
#A52682 #43A526 #26A588
monochromatic
#420F34 #731B5B #A52682 #D137A7 #DC69BD

Accessibility & contrast

On white

6.56
#A52682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A52682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52682
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52682#FFFFFF#000000##FFFFFF
##A526821.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#AF2851
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52682;
/* rgb */ color: rgb(165, 38, 130);
/* oklch */ color: oklch(50.4% 0.187 341.7);
Tailwind
colors: {
  custom: {
    50: '#c46ea6',
    500: '#a52682',
    950: '#000000',
  },
}
SCSS
$custom: #a52682;
$custom-light: #c46ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52682",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 316.535,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.18664,
    "h": 341.7
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#A52682
secondary
#64C37E
accent
#E66F42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52682

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

Preview Lab → · Contrast checker → · Palette generator →

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