#A5207F#A5207F

#A5207F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.191 H 342.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A5207F
RGBrgb(165, 32, 127)
HSLhsl(317, 68%, 39%)
HSVhsv(317, 81%, 65%)
CMYKcmyk(0%, 80.6%, 23%, 35.3%)
CIE-LABlab(38.84, 60.34, -21.12)
CIE-LCHlch(38.84, 63.93, 340.71°)
OKLaboklab(49.81% 0.182 -0.0567)
OKLCHoklch(49.81% 0.191 342.7)
XYZxyz(19.8651, 10.5668, 21.0680)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5207F #20A546
analogous
#8820A5 #A5207F #A5203C
triadic
#A5207F #7FA520 #207FA5
tetradic
#A5207F #A58820 #20A546 #203CA5
square
#A5207F #A58820 #20A546 #203CA5
split-complementary
#A5207F #3CA520 #20A588
monochromatic
#3E0C30 #721658 #A5207F #D62CA6 #E05FBB

Accessibility & contrast

On white

6.75
#A5207F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A5207F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5207F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5207F#FFFFFF#000000##FFFFFF
##A5207F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#B0214E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5207f;
/* rgb */ color: rgb(165, 32, 127);
/* oklch */ color: oklch(49.8% 0.191 342.7);
Tailwind
colors: {
  custom: {
    50: '#c46ca4',
    500: '#a5207f',
    950: '#000000',
  },
}
SCSS
$custom: #a5207f;
$custom-light: #c46ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5207f",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 317.143,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.19061,
    "h": 342.7
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#A5207F
secondary
#5CC57A
accent
#EA6F3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A5207F

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

Preview Lab → · Contrast checker → · Palette generator →

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