#A52888#A52888

#A52888 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.188 H 339.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A52888
RGBrgb(165, 40, 136)
HSLhsl(314, 61%, 40%)
HSVhsv(314, 76%, 65%)
CMYKcmyk(0%, 75.8%, 17.6%, 35.3%)
CIE-LABlab(40.08, 59.22, -24.76)
CIE-LCHlch(40.08, 64.19, 337.31°)
OKLaboklab(50.84% 0.1761 -0.067)
OKLCHoklch(50.84% 0.188 339.2)
XYZxyz(20.7203, 11.2965, 24.3770)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52888 #28A545
analogous
#8328A5 #A52888 #A52849
triadic
#A52888 #88A528 #2888A5
tetradic
#A52888 #A58328 #28A545 #2849A5
square
#A52888 #A58328 #28A545 #2849A5
split-complementary
#A52888 #49A528 #28A583
monochromatic
#421037 #741C5F #A52888 #CF3BAD #DB6CC2

Accessibility & contrast

On white

6.44
#A52888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A52888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52888
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52888#FFFFFF#000000##FFFFFF
##A528881.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528B
Deuteranopia (green-blind)
#596585
Tritanopia (blue-blind)
#AF2D55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52888;
/* rgb */ color: rgb(165, 40, 136);
/* oklch */ color: oklch(50.8% 0.188 339.2);
Tailwind
colors: {
  custom: {
    50: '#c46fab',
    500: '#a52888',
    950: '#000000',
  },
}
SCSS
$custom: #a52888;
$custom-light: #c46fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52888",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 313.92,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.18843,
    "h": 339.2
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#A52888
secondary
#67C27C
accent
#E46944
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52888

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

Preview Lab → · Contrast checker → · Palette generator →

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