#A5288A#A5288A

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

Color values

HEX#A5288A
RGBrgb(165, 40, 138)
HSLhsl(313, 61%, 40%)
HSVhsv(313, 76%, 65%)
CMYKcmyk(0%, 75.8%, 16.4%, 35.3%)
CIE-LABlab(40.17, 59.50, -25.84)
CIE-LCHlch(40.17, 64.87, 336.53°)
OKLaboklab(50.94% 0.1764 -0.0701)
OKLCHoklch(50.94% 0.19 338.3)
XYZxyz(20.8638, 11.3539, 25.1326)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5288A #28A543
analogous
#8128A5 #A5288A #A5284B
triadic
#A5288A #8AA528 #288AA5
tetradic
#A5288A #A58128 #28A543 #284BA5
square
#A5288A #A58128 #28A543 #284BA5
split-complementary
#A5288A #4BA528 #28A581
monochromatic
#421038 #741C61 #A5288A #CF3BAF #DB6CC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5288A#FFFFFF#000000##FFFFFF
##A5288A1.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)
#2E528D
Deuteranopia (green-blind)
#586687
Tritanopia (blue-blind)
#AE2E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5288a;
/* rgb */ color: rgb(165, 40, 138);
/* oklch */ color: oklch(50.9% 0.190 338.3);
Tailwind
colors: {
  custom: {
    50: '#c36fac',
    500: '#a5288a',
    950: '#000000',
  },
}
SCSS
$custom: #a5288a;
$custom-light: #c36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5288a",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 312.96,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.18978,
    "h": 338.3
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#A5288A
secondary
#67C27B
accent
#E46644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5288A

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

Preview Lab → · Contrast checker → · Palette generator →

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