#A5207E#A5207E

#A5207E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.8% C 0.190 H 343.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A5207E
RGBrgb(165, 32, 126)
HSLhsl(318, 68%, 39%)
HSVhsv(318, 81%, 65%)
CMYKcmyk(0%, 80.6%, 23.6%, 35.3%)
CIE-LABlab(38.80, 60.21, -20.57)
CIE-LCHlch(38.80, 63.63, 341.14°)
OKLaboklab(49.77% 0.1818 -0.0551)
OKLCHoklch(49.77% 0.19 343.1)
XYZxyz(19.8002, 10.5409, 20.7265)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5207E #20A547
analogous
#8920A5 #A5207E #A5203B
triadic
#A5207E #7EA520 #207EA5
tetradic
#A5207E #A58920 #20A547 #203BA5
square
#A5207E #A58920 #20A547 #203BA5
split-complementary
#A5207E #3BA520 #20A589
monochromatic
#3E0C30 #721657 #A5207E #D62CA4 #E05FBA

Accessibility & contrast

On white

6.76
#A5207E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5207E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5207E#FFFFFF#000000##FFFFFF
##A5207E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#B0204D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5207e;
/* rgb */ color: rgb(165, 32, 126);
/* oklch */ color: oklch(49.8% 0.190 343.1);
Tailwind
colors: {
  custom: {
    50: '#c46ca3',
    500: '#a5207e',
    950: '#000000',
  },
}
SCSS
$custom: #a5207e;
$custom-light: #c46ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5207e",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 317.594,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.19,
    "h": 343.1
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#A5207E
secondary
#5CC57B
accent
#EA703D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A5207E

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

Preview Lab → · Contrast checker → · Palette generator →

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