#A5288E#A5288E

#A5288E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.193 H 336.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A5288E
RGBrgb(165, 40, 142)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 65%)
CMYKcmyk(0%, 75.8%, 13.9%, 35.3%)
CIE-LABlab(40.36, 60.08, -27.98)
CIE-LCHlch(40.36, 66.28, 335.03°)
OKLaboklab(51.14% 0.1768 -0.0762)
OKLCHoklch(51.14% 0.193 336.7)
XYZxyz(21.1587, 11.4719, 26.6859)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5288E #28A53F
analogous
#7D28A5 #A5288E #A5284F
triadic
#A5288E #8EA528 #288EA5
tetradic
#A5288E #A57D28 #28A53F #284FA5
square
#A5288E #A57D28 #28A53F #284FA5
split-complementary
#A5288E #4FA528 #28A57D
monochromatic
#421039 #741C64 #A5288E #CF3BB4 #DB6CC7

Accessibility & contrast

On white

6.38
#A5288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5288E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5288E#FFFFFF#000000##FFFFFF
##A5288E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AE3158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5288e;
/* rgb */ color: rgb(165, 40, 142);
/* oklch */ color: oklch(51.1% 0.193 336.7);
Tailwind
colors: {
  custom: {
    50: '#c36faf',
    500: '#a5288e',
    950: '#000000',
  },
}
SCSS
$custom: #a5288e;
$custom-light: #c36faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a5288e",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 311.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.19252,
    "h": 336.7
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5288E

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

Preview Lab → · Contrast checker → · Palette generator →

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