#A52B8A#A52B8A

#A52B8A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 338.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A52B8A
RGBrgb(165, 43, 138)
HSLhsl(313, 59%, 41%)
HSVhsv(313, 74%, 65%)
CMYKcmyk(0%, 73.9%, 16.4%, 35.3%)
CIE-LABlab(40.51, 58.52, -25.30)
CIE-LCHlch(40.51, 63.76, 336.62°)
OKLaboklab(51.19% 0.1734 -0.0686)
OKLCHoklch(51.19% 0.186 338.4)
XYZxyz(20.9688, 11.5641, 25.1676)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B8A #2BA546
analogous
#832BA5 #A52B8A #A52B4D
triadic
#A52B8A #8AA52B #2B8AA5
tetradic
#A52B8A #A5832B #2BA546 #2B4DA5
square
#A52B8A #A5832B #2BA546 #2B4DA5
split-complementary
#A52B8A #4DA52B #2BA583
monochromatic
#441239 #741E61 #A52B8A #CD40AE #DA71C3

Accessibility & contrast

On white

6.34
#A52B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A52B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52B8A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B8A#FFFFFF#000000##FFFFFF
##A52B8A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#AE3157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52b8a;
/* rgb */ color: rgb(165, 43, 138);
/* oklch */ color: oklch(51.2% 0.186 338.4);
Tailwind
colors: {
  custom: {
    50: '#c371ac',
    500: '#a52b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a52b8a;
$custom-light: #c371ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b8a",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 313.279,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.18648,
    "h": 338.4
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#A52B8A
secondary
#6BC17E
accent
#E26846
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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