#A5288D#A5288D

#A5288D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.192 H 337.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A5288D
RGBrgb(165, 40, 141)
HSLhsl(312, 61%, 40%)
HSVhsv(312, 76%, 65%)
CMYKcmyk(0%, 75.8%, 14.5%, 35.3%)
CIE-LABlab(40.32, 59.94, -27.45)
CIE-LCHlch(40.32, 65.92, 335.39°)
OKLaboklab(51.09% 0.1767 -0.0747)
OKLCHoklch(51.09% 0.192 337.1)
XYZxyz(21.0840, 11.4420, 26.2923)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5288D #28A540
analogous
#7E28A5 #A5288D #A5284E
triadic
#A5288D #8DA528 #288DA5
tetradic
#A5288D #A57E28 #28A540 #284EA5
square
#A5288D #A57E28 #28A540 #284EA5
split-complementary
#A5288D #4EA528 #28A57E
monochromatic
#421039 #741C63 #A5288D #CF3BB3 #DB6CC6

Accessibility & contrast

On white

6.39
#A5288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5288D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5288D#FFFFFF#000000##FFFFFF
##A5288D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#AE3058
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5288d;
/* rgb */ color: rgb(165, 40, 141);
/* oklch */ color: oklch(51.1% 0.192 337.1);
Tailwind
colors: {
  custom: {
    50: '#c36fae',
    500: '#a5288d',
    950: '#000000',
  },
}
SCSS
$custom: #a5288d;
$custom-light: #c36fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5288d",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 311.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.19182,
    "h": 337.1
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#A5288D
secondary
#67C278
accent
#E46344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5288D

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

Preview Lab → · Contrast checker → · Palette generator →

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