#A5288B#A5288B

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

Color values

HEX#A5288B
RGBrgb(165, 40, 139)
HSLhsl(312, 61%, 40%)
HSVhsv(312, 76%, 65%)
CMYKcmyk(0%, 75.8%, 15.8%, 35.3%)
CIE-LABlab(40.22, 59.65, -26.38)
CIE-LCHlch(40.22, 65.22, 336.14°)
OKLaboklab(50.99% 0.1765 -0.0716)
OKLCHoklch(50.99% 0.19 337.9)
XYZxyz(20.9365, 11.3830, 25.5156)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5288B #28A542
analogous
#8028A5 #A5288B #A5284C
triadic
#A5288B #8BA528 #288BA5
tetradic
#A5288B #A58028 #28A542 #284CA5
square
#A5288B #A58028 #28A542 #284CA5
split-complementary
#A5288B #4CA528 #28A580
monochromatic
#421038 #741C62 #A5288B #CF3BB1 #DB6CC4

Accessibility & contrast

On white

6.41
#A5288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5288B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5288B#FFFFFF#000000##FFFFFF
##A5288B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5288b;
/* rgb */ color: rgb(165, 40, 139);
/* oklch */ color: oklch(51.0% 0.190 337.9);
Tailwind
colors: {
  custom: {
    50: '#c36fad',
    500: '#a5288b',
    950: '#000000',
  },
}
SCSS
$custom: #a5288b;
$custom-light: #c36fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5288b",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 312.48,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.19045,
    "h": 337.9
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#A5288B
secondary
#67C27A
accent
#E46544
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5288B

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

Preview Lab → · Contrast checker → · Palette generator →

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