#A52F91#A52F91

#A52F91 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.187 H 335.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A52F91
RGBrgb(165, 47, 145)
HSLhsl(310, 56%, 42%)
HSVhsv(310, 72%, 65%)
CMYKcmyk(0%, 71.5%, 12.1%, 35.3%)
CIE-LABlab(41.34, 58.17, -28.28)
CIE-LCHlch(41.34, 64.68, 334.07°)
OKLaboklab(51.9% 0.1701 -0.0771)
OKLCHoklch(51.9% 0.187 335.6)
XYZxyz(21.6447, 12.0786, 27.9740)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F91 #2FA543
analogous
#7E2FA5 #A52F91 #A52F56
triadic
#A52F91 #91A52F #2F91A5
tetradic
#A52F91 #A57E2F #2FA543 #2F56A5
square
#A52F91 #A57E2F #2FA543 #2F56A5
split-complementary
#A52F91 #56A52F #2FA57E
monochromatic
#46143D #752167 #A52F91 #CB47B4 #D876C8

Accessibility & contrast

On white

6.15
#A52F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A52F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F91
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F91#FFFFFF#000000##FFFFFF
##A52F911.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#58688E
Tritanopia (blue-blind)
#AD375C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52f91;
/* rgb */ color: rgb(165, 47, 145);
/* oklch */ color: oklch(51.9% 0.187 335.6);
Tailwind
colors: {
  custom: {
    50: '#c372b1',
    500: '#a52f91',
    950: '#000000',
  },
}
SCSS
$custom: #a52f91;
$custom-light: #c372b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f91",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 310.169,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.18676,
    "h": 335.6
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#A52F91
secondary
#70C07D
accent
#DF6249
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F91

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

Preview Lab → · Contrast checker → · Palette generator →

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