#A5286B#A5286B

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

Color values

HEX#A5286B
RGBrgb(165, 40, 107)
HSLhsl(328, 61%, 40%)
HSVhsv(328, 76%, 65%)
CMYKcmyk(0%, 75.8%, 35.2%, 35.3%)
CIE-LABlab(38.87, 55.51, -8.59)
CIE-LCHlch(38.87, 56.17, 351.20°)
OKLaboklab(49.57% 0.1702 -0.0221)
OKLCHoklch(49.57% 0.172 352.6)
XYZxyz(18.9308, 10.5807, 14.9524)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5286B #28A562
analogous
#A128A5 #A5286B #A5282C
triadic
#A5286B #6BA528 #286BA5
tetradic
#A5286B #A5A128 #28A562 #282CA5
square
#A5286B #A5A128 #28A562 #282CA5
split-complementary
#A5286B #2CA528 #28A5A1
monochromatic
#42102B #741C4B #A5286B #CF3B8A #DB6CA8

Accessibility & contrast

On white

6.74
#A5286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5286B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5286B#FFFFFF#000000##FFFFFF
##A5286B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#626468
Tritanopia (blue-blind)
#B21D46
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5286b;
/* rgb */ color: rgb(165, 40, 107);
/* oklch */ color: oklch(49.6% 0.172 352.6);
Tailwind
colors: {
  custom: {
    50: '#c46e95',
    500: '#a5286b',
    950: '#000000',
  },
}
SCSS
$custom: #a5286b;
$custom-light: #c46e95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5286b",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 327.84,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.17161,
    "h": 352.6
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#A5286B
secondary
#67C291
accent
#E48E44
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5286B

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

Preview Lab → · Contrast checker → · Palette generator →

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