#A5286E#A5286E

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

Color values

HEX#A5286E
RGBrgb(165, 40, 110)
HSLhsl(326, 61%, 40%)
HSVhsv(326, 76%, 65%)
CMYKcmyk(0%, 75.8%, 33.3%, 35.3%)
CIE-LABlab(38.98, 55.86, -10.31)
CIE-LCHlch(38.98, 56.80, 349.54°)
OKLaboklab(49.68% 0.171 -0.0267)
OKLCHoklch(49.68% 0.173 351.1)
XYZxyz(19.0914, 10.6450, 15.7981)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5286E #28A55F
analogous
#9E28A5 #A5286E #A5282F
triadic
#A5286E #6EA528 #286EA5
tetradic
#A5286E #A59E28 #28A55F #282FA5
square
#A5286E #A59E28 #28A55F #282FA5
split-complementary
#A5286E #2FA528 #28A59E
monochromatic
#42102C #741C4D #A5286E #CF3B8E #DB6CAA

Accessibility & contrast

On white

6.71
#A5286E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A5286E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5286E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5286E#FFFFFF#000000##FFFFFF
##A5286E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5286e;
/* rgb */ color: rgb(165, 40, 110);
/* oklch */ color: oklch(49.7% 0.173 351.1);
Tailwind
colors: {
  custom: {
    50: '#c46e97',
    500: '#a5286e',
    950: '#000000',
  },
}
SCSS
$custom: #a5286e;
$custom-light: #c46e97;
$custom-dark: #000000;
JSON
{
  "hex": "#a5286e",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 326.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.17307,
    "h": 351.1
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#A5286E
secondary
#67C28F
accent
#E48A44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5286E

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

Preview Lab → · Contrast checker → · Palette generator →

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