#A52C8F#A52C8F

#A52C8F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.189 H 336.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A52C8F
RGBrgb(165, 44, 143)
HSLhsl(311, 58%, 41%)
HSVhsv(311, 73%, 65%)
CMYKcmyk(0%, 73.3%, 13.3%, 35.3%)
CIE-LABlab(40.87, 58.92, -27.79)
CIE-LCHlch(40.87, 65.15, 334.75°)
OKLaboklab(51.53% 0.173 -0.0757)
OKLCHoklch(51.53% 0.189 336.4)
XYZxyz(21.3760, 11.7858, 27.1304)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C8F #2CA542
analogous
#7E2CA5 #A52C8F #A52C52
triadic
#A52C8F #8FA52C #2C8FA5
tetradic
#A52C8F #A57E2C #2CA542 #2C52A5
square
#A52C8F #A57E2C #2CA542 #2C52A5
split-complementary
#A52C8F #52A52C #2CA57E
monochromatic
#44123B #751F65 #A52C8F #CD42B3 #D972C7

Accessibility & contrast

On white

6.26
#A52C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A52C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52C8F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52C8F#FFFFFF#000000##FFFFFF
##A52C8F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5592
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#AE345A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52c8f;
/* rgb */ color: rgb(165, 44, 143);
/* oklch */ color: oklch(51.5% 0.189 336.4);
Tailwind
colors: {
  custom: {
    50: '#c371b0',
    500: '#a52c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a52c8f;
$custom-light: #c371b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c8f",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 310.909,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.18882,
    "h": 336.4
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#A52C8F
secondary
#6CC17B
accent
#E16347
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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