#A5287C#A5287C

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

Color values

HEX#A5287C
RGBrgb(165, 40, 124)
HSLhsl(320, 61%, 40%)
HSVhsv(320, 76%, 65%)
CMYKcmyk(0%, 75.8%, 24.8%, 35.3%)
CIE-LABlab(39.54, 57.59, -18.19)
CIE-LCHlch(39.54, 60.39, 342.47°)
OKLaboklab(50.27% 0.1742 -0.0485)
OKLCHoklch(50.27% 0.181 344.4)
XYZxyz(19.9147, 10.9743, 20.1343)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5287C #28A551
analogous
#8F28A5 #A5287C #A5283D
triadic
#A5287C #7CA528 #287CA5
tetradic
#A5287C #A58F28 #28A551 #283DA5
square
#A5287C #A58F28 #28A551 #283DA5
split-complementary
#A5287C #3DA528 #28A58F
monochromatic
#421032 #741C57 #A5287C #CF3B9F #DB6CB7

Accessibility & contrast

On white

6.57
#A5287C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A5287C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5287C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5287C#FFFFFF#000000##FFFFFF
##A5287C1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5287c;
/* rgb */ color: rgb(165, 40, 124);
/* oklch */ color: oklch(50.3% 0.181 344.4);
Tailwind
colors: {
  custom: {
    50: '#c46fa2',
    500: '#a5287c',
    950: '#000000',
  },
}
SCSS
$custom: #a5287c;
$custom-light: #c46fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5287c",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 319.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.18081,
    "h": 344.4
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#A5287C
secondary
#67C285
accent
#E47844
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A5287C

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

Preview Lab → · Contrast checker → · Palette generator →

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