#A5208A#A5208A

#A5208A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 338.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A5208A
RGBrgb(165, 32, 138)
HSLhsl(312, 68%, 39%)
HSVhsv(312, 81%, 65%)
CMYKcmyk(0%, 80.6%, 16.4%, 35.3%)
CIE-LABlab(39.36, 61.83, -27.11)
CIE-LCHlch(39.36, 67.51, 336.33°)
OKLaboklab(50.36% 0.1834 -0.0736)
OKLCHoklch(50.36% 0.198 338.1)
XYZxyz(20.6215, 10.8694, 25.0518)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5208A #20A53B
analogous
#7D20A5 #A5208A #A52048
triadic
#A5208A #8AA520 #208AA5
tetradic
#A5208A #A57D20 #20A53B #2048A5
square
#A5208A #A57D20 #20A53B #2048A5
split-complementary
#A5208A #48A520 #20A57D
monochromatic
#3E0C34 #72165F #A5208A #D62CB4 #E05FC6

Accessibility & contrast

On white

6.62
#A5208A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A5208A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5208A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5208A#FFFFFF#000000##FFFFFF
##A5208A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AE2854
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5208a;
/* rgb */ color: rgb(165, 32, 138);
/* oklch */ color: oklch(50.4% 0.198 338.1);
Tailwind
colors: {
  custom: {
    50: '#c46cac',
    500: '#a5208a',
    950: '#000000',
  },
}
SCSS
$custom: #a5208a;
$custom-light: #c46cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5208a",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 312.18,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.19759,
    "h": 338.1
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#A5208A
secondary
#5CC571
accent
#EA613D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5208A

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

Preview Lab → · Contrast checker → · Palette generator →

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