#A52790#A52790

#A52790 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.195 H 335.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A52790
RGBrgb(165, 39, 144)
HSLhsl(310, 62%, 40%)
HSVhsv(310, 76%, 65%)
CMYKcmyk(0%, 76.4%, 12.7%, 35.3%)
CIE-LABlab(40.35, 60.69, -29.22)
CIE-LCHlch(40.35, 67.35, 334.29°)
OKLaboklab(51.17% 0.1779 -0.0797)
OKLCHoklch(51.17% 0.195 335.9)
XYZxyz(21.2769, 11.4659, 27.4727)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52790 #27A53C
analogous
#7B27A5 #A52790 #A52751
triadic
#A52790 #90A527 #2790A5
tetradic
#A52790 #A57B27 #27A53C #2751A5
square
#A52790 #A57B27 #27A53C #2751A5
split-complementary
#A52790 #51A527 #27A57B
monochromatic
#42103A #741B65 #A52790 #D039B7 #DC6AC9

Accessibility & contrast

On white

6.38
#A52790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52790
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52790#FFFFFF#000000##FFFFFF
##A527901.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#56668D
Tritanopia (blue-blind)
#AE3159
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52790;
/* rgb */ color: rgb(165, 39, 144);
/* oklch */ color: oklch(51.2% 0.195 335.9);
Tailwind
colors: {
  custom: {
    50: '#c36fb1',
    500: '#a52790',
    950: '#000000',
  },
}
SCSS
$custom: #a52790;
$custom-light: #c36fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52790",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 310,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.19495,
    "h": 335.9
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#A52790
secondary
#66C275
accent
#E55E43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52790

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

Preview Lab → · Contrast checker → · Palette generator →

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