#A52687#A52687

#A52687 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.190 H 339.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A52687
RGBrgb(165, 38, 135)
HSLhsl(314, 63%, 40%)
HSVhsv(314, 77%, 65%)
CMYKcmyk(0%, 77%, 18.2%, 35.3%)
CIE-LABlab(39.81, 59.70, -24.56)
CIE-LCHlch(39.81, 64.56, 337.64°)
OKLaboklab(50.63% 0.1779 -0.0664)
OKLCHoklch(50.63% 0.19 339.5)
XYZxyz(20.5839, 11.1369, 23.9826)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52687 #26A544
analogous
#8326A5 #A52687 #A52648
triadic
#A52687 #87A526 #2687A5
tetradic
#A52687 #A58326 #26A544 #2648A5
square
#A52687 #A58326 #26A544 #2648A5
split-complementary
#A52687 #48A526 #26A583
monochromatic
#420F36 #731B5E #A52687 #D137AD #DC69C1

Accessibility & contrast

On white

6.51
#A52687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52687
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52687#FFFFFF#000000##FFFFFF
##A526871.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F518A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#AF2B54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52687;
/* rgb */ color: rgb(165, 38, 135);
/* oklch */ color: oklch(50.6% 0.190 339.5);
Tailwind
colors: {
  custom: {
    50: '#c46eaa',
    500: '#a52687',
    950: '#000000',
  },
}
SCSS
$custom: #a52687;
$custom-light: #c46eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52687",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 314.173,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.18987,
    "h": 339.5
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#A52687
secondary
#64C37B
accent
#E66942
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52687

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

Preview Lab → · Contrast checker → · Palette generator →

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