#A52882#A52882

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

Color values

HEX#A52882
RGBrgb(165, 40, 130)
HSLhsl(317, 61%, 40%)
HSVhsv(317, 76%, 65%)
CMYKcmyk(0%, 75.8%, 21.2%, 35.3%)
CIE-LABlab(39.80, 58.39, -21.50)
CIE-LCHlch(39.80, 62.22, 339.79°)
OKLaboklab(50.55% 0.1752 -0.0578)
OKLCHoklch(50.55% 0.185 341.8)
XYZxyz(20.3058, 11.1307, 22.1938)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52882 #28A54B
analogous
#8928A5 #A52882 #A52843
triadic
#A52882 #82A528 #2882A5
tetradic
#A52882 #A58928 #28A54B #2843A5
square
#A52882 #A58928 #28A54B #2843A5
split-complementary
#A52882 #43A528 #28A589
monochromatic
#421034 #741C5B #A52882 #CF3BA6 #DB6CBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52882#FFFFFF#000000##FFFFFF
##A528821.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)
#345184
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#AF2A52
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52882;
/* rgb */ color: rgb(165, 40, 130);
/* oklch */ color: oklch(50.5% 0.185 341.8);
Tailwind
colors: {
  custom: {
    50: '#c46fa6',
    500: '#a52882',
    950: '#000000',
  },
}
SCSS
$custom: #a52882;
$custom-light: #c46fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52882",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 316.8,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.18452,
    "h": 341.8
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#A52882
secondary
#67C280
accent
#E47144
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52882

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

Preview Lab → · Contrast checker → · Palette generator →

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