#A5287D#A5287D

#A5287D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 344.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A5287D
RGBrgb(165, 40, 125)
HSLhsl(319, 61%, 40%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 75.8%, 24.2%, 35.3%)
CIE-LABlab(39.58, 57.72, -18.74)
CIE-LCHlch(39.58, 60.69, 342.01°)
OKLaboklab(50.32% 0.1744 -0.05)
OKLCHoklch(50.32% 0.181 344)
XYZxyz(19.9783, 10.9997, 20.4691)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5287D #28A550
analogous
#8E28A5 #A5287D #A5283E
triadic
#A5287D #7DA528 #287DA5
tetradic
#A5287D #A58E28 #28A550 #283EA5
square
#A5287D #A58E28 #28A550 #283EA5
split-complementary
#A5287D #3EA528 #28A58E
monochromatic
#421032 #741C58 #A5287D #CF3BA0 #DB6CB8

Accessibility & contrast

On white

6.56
#A5287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A5287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5287D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5287D#FFFFFF#000000##FFFFFF
##A5287D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#B0274F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5287d;
/* rgb */ color: rgb(165, 40, 125);
/* oklch */ color: oklch(50.3% 0.181 344.0);
Tailwind
colors: {
  custom: {
    50: '#c46fa2',
    500: '#a5287d',
    950: '#000000',
  },
}
SCSS
$custom: #a5287d;
$custom-light: #c46fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5287d",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 319.2,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.18142,
    "h": 344
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#A5287D
secondary
#67C284
accent
#E47744
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5287D

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

Preview Lab → · Contrast checker → · Palette generator →

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