#A5207C#A5207C

#A5207C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 344.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A5207C
RGBrgb(165, 32, 124)
HSLhsl(318, 68%, 39%)
HSVhsv(318, 81%, 65%)
CMYKcmyk(0%, 80.6%, 24.8%, 35.3%)
CIE-LABlab(38.71, 59.95, -19.47)
CIE-LCHlch(38.71, 63.04, 342.01°)
OKLaboklab(49.67% 0.1815 -0.052)
OKLCHoklch(49.67% 0.189 344)
XYZxyz(19.6725, 10.4898, 20.0536)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5207C #20A549
analogous
#8B20A5 #A5207C #A52039
triadic
#A5207C #7CA520 #207CA5
tetradic
#A5207C #A58B20 #20A549 #2039A5
square
#A5207C #A58B20 #20A549 #2039A5
split-complementary
#A5207C #39A520 #20A58B
monochromatic
#3E0C2F #721655 #A5207C #D62CA2 #E05FB8

Accessibility & contrast

On white

6.78
#A5207C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A5207C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5207C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5207C#FFFFFF#000000##FFFFFF
##A5207C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#B01F4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5207c;
/* rgb */ color: rgb(165, 32, 124);
/* oklch */ color: oklch(49.7% 0.189 344.0);
Tailwind
colors: {
  custom: {
    50: '#c46ca2',
    500: '#a5207c',
    950: '#000000',
  },
}
SCSS
$custom: #a5207c;
$custom-light: #c46ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5207c",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 318.496,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.18881,
    "h": 344
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#A5207C
secondary
#5CC57C
accent
#EA733D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A5207C

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

Preview Lab → · Contrast checker → · Palette generator →

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