#A5208C#A5208C

#A5208C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.5% C 0.199 H 337.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A5208C
RGBrgb(165, 32, 140)
HSLhsl(311, 68%, 39%)
HSVhsv(311, 81%, 65%)
CMYKcmyk(0%, 80.6%, 15.2%, 35.3%)
CIE-LABlab(39.46, 62.11, -28.18)
CIE-LCHlch(39.46, 68.20, 335.60°)
OKLaboklab(50.46% 0.1835 -0.0767)
OKLCHoklch(50.46% 0.199 337.3)
XYZxyz(20.7676, 10.9278, 25.8214)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5208C #20A539
analogous
#7B20A5 #A5208C #A52049
triadic
#A5208C #8CA520 #208CA5
tetradic
#A5208C #A57B20 #20A539 #2049A5
square
#A5208C #A57B20 #20A539 #2049A5
split-complementary
#A5208C #49A520 #20A57B
monochromatic
#3E0C35 #721661 #A5208C #D62CB6 #E05FC8

Accessibility & contrast

On white

6.59
#A5208C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A5208C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5208C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5208C#FFFFFF#000000##FFFFFF
##A5208C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#AE2955
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5208c;
/* rgb */ color: rgb(165, 32, 140);
/* oklch */ color: oklch(50.5% 0.199 337.3);
Tailwind
colors: {
  custom: {
    50: '#c46cae',
    500: '#a5208c',
    950: '#000000',
  },
}
SCSS
$custom: #a5208c;
$custom-light: #c46cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5208c",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 311.278,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.19892,
    "h": 337.3
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#A5208C
secondary
#5CC570
accent
#EA5E3D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5208C

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

Preview Lab → · Contrast checker → · Palette generator →

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