#A52885#A52885

#A52885 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.186 H 340.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A52885
RGBrgb(165, 40, 133)
HSLhsl(315, 61%, 40%)
HSVhsv(315, 76%, 65%)
CMYKcmyk(0%, 75.8%, 19.4%, 35.3%)
CIE-LABlab(39.94, 58.80, -23.13)
CIE-LCHlch(39.94, 63.19, 338.52°)
OKLaboklab(50.69% 0.1757 -0.0624)
OKLCHoklch(50.69% 0.186 340.4)
XYZxyz(20.5101, 11.2124, 23.2698)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52885 #28A548
analogous
#8628A5 #A52885 #A52846
triadic
#A52885 #85A528 #2885A5
tetradic
#A52885 #A58628 #28A548 #2846A5
square
#A52885 #A58628 #28A548 #2846A5
split-complementary
#A52885 #46A528 #28A586
monochromatic
#421036 #741C5D #A52885 #CF3BA9 #DB6CBF

Accessibility & contrast

On white

6.48
#A52885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A52885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52885
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52885#FFFFFF#000000##FFFFFF
##A528851.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325188
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#AF2C54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52885;
/* rgb */ color: rgb(165, 40, 133);
/* oklch */ color: oklch(50.7% 0.186 340.4);
Tailwind
colors: {
  custom: {
    50: '#c46fa8',
    500: '#a52885',
    950: '#000000',
  },
}
SCSS
$custom: #a52885;
$custom-light: #c46fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52885",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 315.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.18646,
    "h": 340.4
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#A52885
secondary
#67C27E
accent
#E46D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52885

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

Preview Lab → · Contrast checker → · Palette generator →

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