#A52F90#A52F90

#A52F90 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.186 H 336.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A52F90
RGBrgb(165, 47, 144)
HSLhsl(311, 56%, 42%)
HSVhsv(311, 72%, 65%)
CMYKcmyk(0%, 71.5%, 12.7%, 35.3%)
CIE-LABlab(41.29, 58.02, -27.75)
CIE-LCHlch(41.29, 64.32, 334.44°)
OKLaboklab(51.84% 0.17 -0.0756)
OKLCHoklch(51.84% 0.186 336)
XYZxyz(21.5679, 12.0479, 27.5697)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F90 #2FA544
analogous
#7F2FA5 #A52F90 #A52F55
triadic
#A52F90 #90A52F #2F90A5
tetradic
#A52F90 #A57F2F #2FA544 #2F55A5
square
#A52F90 #A57F2F #2FA544 #2F55A5
split-complementary
#A52F90 #55A52F #2FA57F
monochromatic
#46143D #752166 #A52F90 #CB47B3 #D876C7

Accessibility & contrast

On white

6.16
#A52F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A52F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F90
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F90#FFFFFF#000000##FFFFFF
##A52F901.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#59688D
Tritanopia (blue-blind)
#AD375C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52f90;
/* rgb */ color: rgb(165, 47, 144);
/* oklch */ color: oklch(51.8% 0.186 336.0);
Tailwind
colors: {
  custom: {
    50: '#c372b1',
    500: '#a52f90',
    950: '#000000',
  },
}
SCSS
$custom: #a52f90;
$custom-light: #c372b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f90",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 310.678,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.18603,
    "h": 336
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#A52F90
secondary
#70C07E
accent
#DF6449
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #A52F90

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

Preview Lab → · Contrast checker → · Palette generator →

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