#A52B8D#A52B8D

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

Color values

HEX#A52B8D
RGBrgb(165, 43, 141)
HSLhsl(312, 59%, 41%)
HSVhsv(312, 74%, 65%)
CMYKcmyk(0%, 73.9%, 14.5%, 35.3%)
CIE-LABlab(40.66, 58.96, -26.91)
CIE-LCHlch(40.66, 64.81, 335.47°)
OKLaboklab(51.34% 0.1738 -0.0732)
OKLCHoklch(51.34% 0.189 337.2)
XYZxyz(21.1890, 11.6521, 26.3273)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B8D #2BA543
analogous
#802BA5 #A52B8D #A52B50
triadic
#A52B8D #8DA52B #2B8DA5
tetradic
#A52B8D #A5802B #2BA543 #2B50A5
square
#A52B8D #A5802B #2BA543 #2B50A5
split-complementary
#A52B8D #50A52B #2BA580
monochromatic
#44123A #741E64 #A52B8D #CD40B1 #DA71C5

Accessibility & contrast

On white

6.31
#A52B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A52B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52B8D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B8D#FFFFFF#000000##FFFFFF
##A52B8D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#58678A
Tritanopia (blue-blind)
#AE3259
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52b8d;
/* rgb */ color: rgb(165, 43, 141);
/* oklch */ color: oklch(51.3% 0.189 337.2);
Tailwind
colors: {
  custom: {
    50: '#c371ae',
    500: '#a52b8d',
    950: '#000000',
  },
}
SCSS
$custom: #a52b8d;
$custom-light: #c371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b8d",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 311.803,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.18855,
    "h": 337.2
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#A52B8D
secondary
#6BC17C
accent
#E26546
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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