#A5286D#A5286D

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

Color values

HEX#A5286D
RGBrgb(165, 40, 109)
HSLhsl(327, 61%, 40%)
HSVhsv(327, 76%, 65%)
CMYKcmyk(0%, 75.8%, 33.9%, 35.3%)
CIE-LABlab(38.94, 55.74, -9.74)
CIE-LCHlch(38.94, 56.58, 350.09°)
OKLaboklab(49.64% 0.1707 -0.0252)
OKLCHoklch(49.64% 0.173 351.6)
XYZxyz(19.0373, 10.6233, 15.5130)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5286D #28A560
analogous
#9F28A5 #A5286D #A5282E
triadic
#A5286D #6DA528 #286DA5
tetradic
#A5286D #A59F28 #28A560 #282EA5
square
#A5286D #A59F28 #28A560 #282EA5
split-complementary
#A5286D #2EA528 #28A59F
monochromatic
#42102C #741C4C #A5286D #CF3B8D #DB6CA9

Accessibility & contrast

On white

6.72
#A5286D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5286D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5286D#FFFFFF#000000##FFFFFF
##A5286D1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6F
Deuteranopia (green-blind)
#62646A
Tritanopia (blue-blind)
#B21E47
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5286d;
/* rgb */ color: rgb(165, 40, 109);
/* oklch */ color: oklch(49.6% 0.173 351.6);
Tailwind
colors: {
  custom: {
    50: '#c46e96',
    500: '#a5286d',
    950: '#000000',
  },
}
SCSS
$custom: #a5286d;
$custom-light: #c46e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5286d",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 326.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.17258,
    "h": 351.6
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#A5286D
secondary
#67C290
accent
#E48C44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5286D

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

Preview Lab → · Contrast checker → · Palette generator →

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