#A52D91#A52D91

#A52D91 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.189 H 335.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A52D91
RGBrgb(165, 45, 145)
HSLhsl(310, 57%, 41%)
HSVhsv(310, 73%, 65%)
CMYKcmyk(0%, 72.7%, 12.1%, 35.3%)
CIE-LABlab(41.09, 58.88, -28.67)
CIE-LCHlch(41.09, 65.49, 334.04°)
OKLaboklab(51.72% 0.1722 -0.0782)
OKLCHoklch(51.72% 0.189 335.6)
XYZxyz(21.5666, 11.9223, 27.9480)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D91 #2DA541
analogous
#7D2DA5 #A52D91 #A52D55
triadic
#A52D91 #91A52D #2D91A5
tetradic
#A52D91 #A57D2D #2DA541 #2D55A5
square
#A52D91 #A57D2D #2DA541 #2D55A5
split-complementary
#A52D91 #55A52D #2DA57D
monochromatic
#45133C #752067 #A52D91 #CC43B5 #D973C8

Accessibility & contrast

On white

6.21
#A52D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A52D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D91
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D91#FFFFFF#000000##FFFFFF
##A52D911.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5594
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#AD365C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52d91;
/* rgb */ color: rgb(165, 45, 145);
/* oklch */ color: oklch(51.7% 0.189 335.6);
Tailwind
colors: {
  custom: {
    50: '#c372b1',
    500: '#a52d91',
    950: '#000000',
  },
}
SCSS
$custom: #a52d91;
$custom-light: #c372b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d91",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 310,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.18911,
    "h": 335.6
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#A52D91
secondary
#6DC17B
accent
#E06147
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A52D91

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

Preview Lab → · Contrast checker → · Palette generator →

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