#A52782#A52782

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

Color values

HEX#A52782
RGBrgb(165, 39, 130)
HSLhsl(317, 62%, 40%)
HSVhsv(317, 76%, 65%)
CMYKcmyk(0%, 76.4%, 21.2%, 35.3%)
CIE-LABlab(39.69, 58.70, -21.67)
CIE-LCHlch(39.69, 62.58, 339.74°)
OKLaboklab(50.47% 0.1762 -0.0583)
OKLCHoklch(50.47% 0.186 341.7)
XYZxyz(20.2725, 11.0642, 22.1827)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52782 #27A54A
analogous
#8927A5 #A52782 #A52743
triadic
#A52782 #82A527 #2782A5
tetradic
#A52782 #A58927 #27A54A #2743A5
square
#A52782 #A58927 #27A54A #2743A5
split-complementary
#A52782 #43A527 #27A589
monochromatic
#421034 #741B5B #A52782 #D039A6 #DC6ABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52782#FFFFFF#000000##FFFFFF
##A527821.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)
#335084
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#AF2952
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52782;
/* rgb */ color: rgb(165, 39, 130);
/* oklch */ color: oklch(50.5% 0.186 341.7);
Tailwind
colors: {
  custom: {
    50: '#c46fa6',
    500: '#a52782',
    950: '#000000',
  },
}
SCSS
$custom: #a52782;
$custom-light: #c46fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52782",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 316.667,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.18559,
    "h": 341.7
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#A52782
secondary
#66C27F
accent
#E57043
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52782

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

Preview Lab → · Contrast checker → · Palette generator →

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