#A52C8D#A52C8D

#A52C8D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.187 H 337.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A52C8D
RGBrgb(165, 44, 141)
HSLhsl(312, 58%, 41%)
HSVhsv(312, 73%, 65%)
CMYKcmyk(0%, 73.3%, 14.5%, 35.3%)
CIE-LABlab(40.78, 58.62, -26.73)
CIE-LCHlch(40.78, 64.43, 335.49°)
OKLaboklab(51.42% 0.1728 -0.0727)
OKLCHoklch(51.42% 0.187 337.2)
XYZxyz(21.2258, 11.7257, 26.3396)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C8D #2CA544
analogous
#802CA5 #A52C8D #A52C50
triadic
#A52C8D #8DA52C #2C8DA5
tetradic
#A52C8D #A5802C #2CA544 #2C50A5
square
#A52C8D #A5802C #2CA544 #2C50A5
split-complementary
#A52C8D #50A52C #2CA580
monochromatic
#44123A #751F64 #A52C8D #CD42B1 #D972C5

Accessibility & contrast

On white

6.28
#A52C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A52C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52C8D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52C8D#FFFFFF#000000##FFFFFF
##A52C8D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#AE3359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52c8d;
/* rgb */ color: rgb(165, 44, 141);
/* oklch */ color: oklch(51.4% 0.187 337.2);
Tailwind
colors: {
  custom: {
    50: '#c371ae',
    500: '#a52c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a52c8d;
$custom-light: #c371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c8d",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 311.901,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.18741,
    "h": 337.2
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#A52C8D
secondary
#6CC17D
accent
#E16547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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