#A52A8D#A52A8D

#A52A8D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.190 H 337.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A52A8D
RGBrgb(165, 42, 141)
HSLhsl(312, 59%, 41%)
HSVhsv(312, 75%, 65%)
CMYKcmyk(0%, 74.5%, 14.5%, 35.3%)
CIE-LABlab(40.54, 59.29, -27.09)
CIE-LCHlch(40.54, 65.19, 335.44°)
OKLaboklab(51.25% 0.1748 -0.0737)
OKLCHoklch(51.25% 0.19 337.1)
XYZxyz(21.1531, 11.5803, 26.3153)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A8D #2AA542
analogous
#7F2AA5 #A52A8D #A52A50
triadic
#A52A8D #8DA52A #2A8DA5
tetradic
#A52A8D #A57F2A #2AA542 #2A50A5
square
#A52A8D #A57F2A #2AA542 #2A50A5
split-complementary
#A52A8D #50A52A #2AA57F
monochromatic
#43113A #741E63 #A52A8D #CE3EB2 #DA6FC5

Accessibility & contrast

On white

6.33
#A52A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A52A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A8D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A8D#FFFFFF#000000##FFFFFF
##A52A8D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AE3258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52a8d;
/* rgb */ color: rgb(165, 42, 141);
/* oklch */ color: oklch(51.3% 0.190 337.1);
Tailwind
colors: {
  custom: {
    50: '#c370ae',
    500: '#a52a8d',
    950: '#000000',
  },
}
SCSS
$custom: #a52a8d;
$custom-light: #c370ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a8d",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 311.707,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.18966,
    "h": 337.1
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#A52A8D
secondary
#69C17B
accent
#E36445
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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