#A5287A#A5287A

#A5287A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 345.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A5287A
RGBrgb(165, 40, 122)
HSLhsl(321, 61%, 40%)
HSVhsv(321, 76%, 65%)
CMYKcmyk(0%, 75.8%, 26.1%, 35.3%)
CIE-LABlab(39.45, 57.33, -17.08)
CIE-LCHlch(39.45, 59.82, 343.41°)
OKLaboklab(50.19% 0.1738 -0.0454)
OKLCHoklch(50.19% 0.18 345.4)
XYZxyz(19.7895, 10.9242, 19.4750)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5287A #28A553
analogous
#9128A5 #A5287A #A5283B
triadic
#A5287A #7AA528 #287AA5
tetradic
#A5287A #A59128 #28A553 #283BA5
square
#A5287A #A59128 #28A553 #283BA5
split-complementary
#A5287A #3BA528 #28A591
monochromatic
#421031 #741C56 #A5287A #CF3B9C #DB6CB5

Accessibility & contrast

On white

6.59
#A5287A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A5287A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5287A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5287A#FFFFFF#000000##FFFFFF
##A5287A1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#B0264E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5287a;
/* rgb */ color: rgb(165, 40, 122);
/* oklch */ color: oklch(50.2% 0.180 345.4);
Tailwind
colors: {
  custom: {
    50: '#c46fa0',
    500: '#a5287a',
    950: '#000000',
  },
}
SCSS
$custom: #a5287a;
$custom-light: #c46fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5287a",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 320.64,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.17962,
    "h": 345.4
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#A5287A
secondary
#67C286
accent
#E47B44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A5287A

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

Preview Lab → · Contrast checker → · Palette generator →

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