#A5288F#A5288F

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

Color values

HEX#A5288F
RGBrgb(165, 40, 143)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 65%)
CMYKcmyk(0%, 75.8%, 13.3%, 35.3%)
CIE-LABlab(40.41, 60.23, -28.51)
CIE-LCHlch(40.41, 66.64, 334.67°)
OKLaboklab(51.19% 0.1769 -0.0777)
OKLCHoklch(51.19% 0.193 336.3)
XYZxyz(21.2341, 11.5020, 27.0831)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5288F #28A53E
analogous
#7C28A5 #A5288F #A52850
triadic
#A5288F #8FA528 #288FA5
tetradic
#A5288F #A57C28 #28A53E #2850A5
square
#A5288F #A57C28 #28A53E #2850A5
split-complementary
#A5288F #50A528 #28A57C
monochromatic
#42103A #741C64 #A5288F #CF3BB5 #DB6CC8

Accessibility & contrast

On white

6.36
#A5288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A5288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5288F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5288F#FFFFFF#000000##FFFFFF
##A5288F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#AE3159
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5288f;
/* rgb */ color: rgb(165, 40, 143);
/* oklch */ color: oklch(51.2% 0.193 336.3);
Tailwind
colors: {
  custom: {
    50: '#c36fb0',
    500: '#a5288f',
    950: '#000000',
  },
}
SCSS
$custom: #a5288f;
$custom-light: #c36fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5288f",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 310.56,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.19321,
    "h": 336.3
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#A5288F
secondary
#67C277
accent
#E46044
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5288F

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

Preview Lab → · Contrast checker → · Palette generator →

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