#A5207B#A5207B

#A5207B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.188 H 344.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A5207B
RGBrgb(165, 32, 123)
HSLhsl(319, 68%, 39%)
HSVhsv(319, 81%, 65%)
CMYKcmyk(0%, 80.6%, 25.5%, 35.3%)
CIE-LABlab(38.66, 59.83, -18.91)
CIE-LCHlch(38.66, 62.75, 342.46°)
OKLaboklab(49.63% 0.1813 -0.0505)
OKLCHoklch(49.63% 0.188 344.4)
XYZxyz(19.6096, 10.4646, 19.7222)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5207B #20A54A
analogous
#8C20A5 #A5207B #A52038
triadic
#A5207B #7BA520 #207BA5
tetradic
#A5207B #A58C20 #20A54A #2038A5
square
#A5207B #A58C20 #20A54A #2038A5
split-complementary
#A5207B #38A520 #20A58C
monochromatic
#3E0C2F #721655 #A5207B #D62CA0 #E05FB7

Accessibility & contrast

On white

6.79
#A5207B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A5207B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5207B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5207B#FFFFFF#000000##FFFFFF
##A5207B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#B01E4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5207b;
/* rgb */ color: rgb(165, 32, 123);
/* oklch */ color: oklch(49.6% 0.188 344.4);
Tailwind
colors: {
  custom: {
    50: '#c46ca1',
    500: '#a5207b',
    950: '#000000',
  },
}
SCSS
$custom: #a5207b;
$custom-light: #c46ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5207b",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 318.947,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.18822,
    "h": 344.4
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#A5207B
secondary
#5CC57D
accent
#EA743D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A5207B

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

Preview Lab → · Contrast checker → · Palette generator →

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