#A52988#A52988

#A52988 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.187 H 339.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A52988
RGBrgb(165, 41, 136)
HSLhsl(314, 60%, 40%)
HSVhsv(314, 75%, 65%)
CMYKcmyk(0%, 75.2%, 17.6%, 35.3%)
CIE-LABlab(40.19, 58.90, -24.59)
CIE-LCHlch(40.19, 63.82, 337.34°)
OKLaboklab(50.92% 0.1751 -0.0665)
OKLCHoklch(50.92% 0.187 339.2)
XYZxyz(20.7545, 11.3648, 24.3884)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52988 #29A546
analogous
#8429A5 #A52988 #A5294A
triadic
#A52988 #88A529 #2988A5
tetradic
#A52988 #A58429 #29A546 #294AA5
square
#A52988 #A58429 #29A546 #294AA5
split-complementary
#A52988 #4AA529 #29A584
monochromatic
#431137 #741D60 #A52988 #CF3DAC #DB6EC1

Accessibility & contrast

On white

6.42
#A52988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52988
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52988#FFFFFF#000000##FFFFFF
##A529881.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528B
Deuteranopia (green-blind)
#5A6685
Tritanopia (blue-blind)
#AF2E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52988;
/* rgb */ color: rgb(165, 41, 136);
/* oklch */ color: oklch(50.9% 0.187 339.2);
Tailwind
colors: {
  custom: {
    50: '#c370ab',
    500: '#a52988',
    950: '#000000',
  },
}
SCSS
$custom: #a52988;
$custom-light: #c370ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52988",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 314.032,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.18735,
    "h": 339.2
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#A52988
secondary
#68C27D
accent
#E36A44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52988

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

Preview Lab → · Contrast checker → · Palette generator →

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