#A5288C#A5288C

#A5288C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 337.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A5288C
RGBrgb(165, 40, 140)
HSLhsl(312, 61%, 40%)
HSVhsv(312, 76%, 65%)
CMYKcmyk(0%, 75.8%, 15.2%, 35.3%)
CIE-LABlab(40.27, 59.79, -26.91)
CIE-LCHlch(40.27, 65.57, 335.77°)
OKLaboklab(51.04% 0.1766 -0.0732)
OKLCHoklch(51.04% 0.191 337.5)
XYZxyz(21.0099, 11.4124, 25.9022)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5288C #28A541
analogous
#7F28A5 #A5288C #A5284D
triadic
#A5288C #8CA528 #288CA5
tetradic
#A5288C #A57F28 #28A541 #284DA5
square
#A5288C #A57F28 #28A541 #284DA5
split-complementary
#A5288C #4DA528 #28A57F
monochromatic
#421038 #741C62 #A5288C #CF3BB2 #DB6CC5

Accessibility & contrast

On white

6.40
#A5288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A5288C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5288C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5288C#FFFFFF#000000##FFFFFF
##A5288C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#AE2F57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5288c;
/* rgb */ color: rgb(165, 40, 140);
/* oklch */ color: oklch(51.0% 0.191 337.5);
Tailwind
colors: {
  custom: {
    50: '#c36fae',
    500: '#a5288c',
    950: '#000000',
  },
}
SCSS
$custom: #a5288c;
$custom-light: #c36fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5288c",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 312,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.19114,
    "h": 337.5
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#A5288C
secondary
#67C279
accent
#E46444
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5288C

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

Preview Lab → · Contrast checker → · Palette generator →

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