#A5208B#A5208B

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

Color values

HEX#A5208B
RGBrgb(165, 32, 139)
HSLhsl(312, 68%, 39%)
HSVhsv(312, 81%, 65%)
CMYKcmyk(0%, 80.6%, 15.8%, 35.3%)
CIE-LABlab(39.41, 61.97, -27.64)
CIE-LCHlch(39.41, 67.85, 335.96°)
OKLaboklab(50.41% 0.1835 -0.0752)
OKLCHoklch(50.41% 0.198 337.7)
XYZxyz(20.6942, 10.8985, 25.4348)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5208B #20A53A
analogous
#7C20A5 #A5208B #A52048
triadic
#A5208B #8BA520 #208BA5
tetradic
#A5208B #A57C20 #20A53A #2048A5
square
#A5208B #A57C20 #20A53A #2048A5
split-complementary
#A5208B #48A520 #20A57C
monochromatic
#3E0C35 #721660 #A5208B #D62CB5 #E05FC7

Accessibility & contrast

On white

6.61
#A5208B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A5208B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5208B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5208B#FFFFFF#000000##FFFFFF
##A5208B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#AE2955
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5208b;
/* rgb */ color: rgb(165, 32, 139);
/* oklch */ color: oklch(50.4% 0.198 337.7);
Tailwind
colors: {
  custom: {
    50: '#c46cad',
    500: '#a5208b',
    950: '#000000',
  },
}
SCSS
$custom: #a5208b;
$custom-light: #c46cad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5208b",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 311.729,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.19826,
    "h": 337.7
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5208B

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

Preview Lab → · Contrast checker → · Palette generator →

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