#A52C8E#A52C8E

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

Color values

HEX#A52C8E
RGBrgb(165, 44, 142)
HSLhsl(311, 58%, 41%)
HSVhsv(311, 73%, 65%)
CMYKcmyk(0%, 73.3%, 13.9%, 35.3%)
CIE-LABlab(40.83, 58.77, -27.26)
CIE-LCHlch(40.83, 64.79, 335.12°)
OKLaboklab(51.47% 0.1729 -0.0742)
OKLCHoklch(51.47% 0.188 336.8)
XYZxyz(21.3006, 11.7556, 26.7332)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C8E #2CA543
analogous
#7F2CA5 #A52C8E #A52C51
triadic
#A52C8E #8EA52C #2C8EA5
tetradic
#A52C8E #A57F2C #2CA543 #2C51A5
square
#A52C8E #A57F2C #2CA543 #2C51A5
split-complementary
#A52C8E #51A52C #2CA57F
monochromatic
#44123B #751F64 #A52C8E #CD42B2 #D972C6

Accessibility & contrast

On white

6.27
#A52C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A52C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52C8E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52C8E#FFFFFF#000000##FFFFFF
##A52C8E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52c8e;
/* rgb */ color: rgb(165, 44, 142);
/* oklch */ color: oklch(51.5% 0.188 336.8);
Tailwind
colors: {
  custom: {
    50: '#c371af',
    500: '#a52c8e',
    950: '#000000',
  },
}
SCSS
$custom: #a52c8e;
$custom-light: #c371af;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c8e",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 311.405,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.18811,
    "h": 336.8
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#A52C8E
secondary
#6CC17C
accent
#E16447
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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