#A5287B#A5287B

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

Color values

HEX#A5287B
RGBrgb(165, 40, 123)
HSLhsl(320, 61%, 40%)
HSVhsv(320, 76%, 65%)
CMYKcmyk(0%, 75.8%, 25.5%, 35.3%)
CIE-LABlab(39.49, 57.46, -17.63)
CIE-LCHlch(39.49, 60.10, 342.94°)
OKLaboklab(50.23% 0.174 -0.0469)
OKLCHoklch(50.23% 0.18 344.9)
XYZxyz(19.8518, 10.9491, 19.8030)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5287B #28A552
analogous
#9028A5 #A5287B #A5283C
triadic
#A5287B #7BA528 #287BA5
tetradic
#A5287B #A59028 #28A552 #283CA5
square
#A5287B #A59028 #28A552 #283CA5
split-complementary
#A5287B #3CA528 #28A590
monochromatic
#421032 #741C56 #A5287B #CF3B9D #DB6CB6

Accessibility & contrast

On white

6.58
#A5287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5287B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5287B#FFFFFF#000000##FFFFFF
##A5287B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#B0264E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5287b;
/* rgb */ color: rgb(165, 40, 123);
/* oklch */ color: oklch(50.2% 0.180 344.9);
Tailwind
colors: {
  custom: {
    50: '#c46fa1',
    500: '#a5287b',
    950: '#000000',
  },
}
SCSS
$custom: #a5287b;
$custom-light: #c46fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5287b",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 320.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.18021,
    "h": 344.9
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5287B

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

Preview Lab → · Contrast checker → · Palette generator →

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