#A5286C#A5286C

#A5286C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.172 H 352.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A5286C
RGBrgb(165, 40, 108)
HSLhsl(327, 61%, 40%)
HSVhsv(327, 76%, 65%)
CMYKcmyk(0%, 75.8%, 34.5%, 35.3%)
CIE-LABlab(38.90, 55.63, -9.16)
CIE-LCHlch(38.90, 56.37, 350.65°)
OKLaboklab(49.6% 0.1705 -0.0236)
OKLCHoklch(49.6% 0.172 352.1)
XYZxyz(18.9838, 10.6019, 15.2311)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5286C #28A561
analogous
#A028A5 #A5286C #A5282D
triadic
#A5286C #6CA528 #286CA5
tetradic
#A5286C #A5A028 #28A561 #282DA5
square
#A5286C #A5A028 #28A561 #282DA5
split-complementary
#A5286C #2DA528 #28A5A0
monochromatic
#42102C #741C4C #A5286C #CF3B8C #DB6CA9

Accessibility & contrast

On white

6.73
#A5286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A5286C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5286C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5286C#FFFFFF#000000##FFFFFF
##A5286C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B21D46
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5286c;
/* rgb */ color: rgb(165, 40, 108);
/* oklch */ color: oklch(49.6% 0.172 352.1);
Tailwind
colors: {
  custom: {
    50: '#c46e96',
    500: '#a5286c',
    950: '#000000',
  },
}
SCSS
$custom: #a5286c;
$custom-light: #c46e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5286c",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 327.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.17209,
    "h": 352.1
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#A5286C
secondary
#67C290
accent
#E48D44
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5286C

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

Preview Lab → · Contrast checker → · Palette generator →

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