#A5286F#A5286F

#A5286F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.174 H 350.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A5286F
RGBrgb(165, 40, 111)
HSLhsl(326, 61%, 40%)
HSVhsv(326, 76%, 65%)
CMYKcmyk(0%, 75.8%, 32.7%, 35.3%)
CIE-LABlab(39.01, 55.97, -10.88)
CIE-LCHlch(39.01, 57.02, 349.00°)
OKLaboklab(49.72% 0.1713 -0.0283)
OKLCHoklch(49.72% 0.174 350.6)
XYZxyz(19.1462, 10.6669, 16.0865)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5286F #28A55E
analogous
#9D28A5 #A5286F #A52830
triadic
#A5286F #6FA528 #286FA5
tetradic
#A5286F #A59D28 #28A55E #2830A5
square
#A5286F #A59D28 #28A55E #2830A5
split-complementary
#A5286F #30A528 #28A59D
monochromatic
#42102D #741C4E #A5286F #CF3B8F #DB6CAB

Accessibility & contrast

On white

6.70
#A5286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5286F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5286F#FFFFFF#000000##FFFFFF
##A5286F1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E71
Deuteranopia (green-blind)
#61646C
Tritanopia (blue-blind)
#B11F48
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5286f;
/* rgb */ color: rgb(165, 40, 111);
/* oklch */ color: oklch(49.7% 0.174 350.6);
Tailwind
colors: {
  custom: {
    50: '#c46e98',
    500: '#a5286f',
    950: '#000000',
  },
}
SCSS
$custom: #a5286f;
$custom-light: #c46e98;
$custom-dark: #000000;
JSON
{
  "hex": "#a5286f",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 325.92,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.17357,
    "h": 350.6
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#A5286F
secondary
#67C28E
accent
#E48944
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5286F

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

Preview Lab → · Contrast checker → · Palette generator →

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