#A52589#A52589

#A52589 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.7% C 0.192 H 338.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A52589
RGBrgb(165, 37, 137)
HSLhsl(313, 63%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 77.6%, 17%, 35.3%)
CIE-LABlab(39.80, 60.28, -25.80)
CIE-LCHlch(39.80, 65.57, 336.83°)
OKLaboklab(50.66% 0.179 -0.07)
OKLCHoklch(50.66% 0.192 338.7)
XYZxyz(20.6945, 11.1306, 24.7206)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52589 #25A541
analogous
#8125A5 #A52589 #A52549
triadic
#A52589 #89A525 #2589A5
tetradic
#A52589 #A58125 #25A541 #2549A5
square
#A52589 #A58125 #25A541 #2549A5
split-complementary
#A52589 #49A525 #25A581
monochromatic
#410F36 #731A5F #A52589 #D235B0 #DD67C3

Accessibility & contrast

On white

6.51
#A52589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A52589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52589
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52589#FFFFFF#000000##FFFFFF
##A525891.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#AF2B55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52589;
/* rgb */ color: rgb(165, 37, 137);
/* oklch */ color: oklch(50.7% 0.192 338.7);
Tailwind
colors: {
  custom: {
    50: '#c46eab',
    500: '#a52589',
    950: '#000000',
  },
}
SCSS
$custom: #a52589;
$custom-light: #c46eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52589",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 313.125,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.19221,
    "h": 338.7
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#A52589
secondary
#63C378
accent
#E66541
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52589

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

Preview Lab → · Contrast checker → · Palette generator →

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