#A52172#A52172

#A52172 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.182 H 348.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A52172
RGBrgb(165, 33, 114)
HSLhsl(323, 67%, 39%)
HSVhsv(323, 80%, 65%)
CMYKcmyk(0%, 80%, 30.9%, 35.3%)
CIE-LABlab(38.38, 58.45, -13.72)
CIE-LCHlch(38.38, 60.04, 346.79°)
OKLaboklab(49.3% 0.1787 -0.036)
OKLCHoklch(49.3% 0.182 348.6)
XYZxyz(19.0992, 10.3042, 16.8994)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52172 #21A554
analogous
#9621A5 #A52172 #A52130
triadic
#A52172 #72A521 #2172A5
tetradic
#A52172 #A59621 #21A554 #2130A5
square
#A52172 #A59621 #21A554 #2130A5
split-complementary
#A52172 #30A521 #21A596
monochromatic
#3F0D2C #72174F #A52172 #D52E95 #DF61AF

Accessibility & contrast

On white

6.86
#A52172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A52172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52172
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52172#FFFFFF#000000##FFFFFF
##A521721.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C74
Deuteranopia (green-blind)
#5E636F
Tritanopia (blue-blind)
#B11947
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a52172;
/* rgb */ color: rgb(165, 33, 114);
/* oklch */ color: oklch(49.3% 0.182 348.6);
Tailwind
colors: {
  custom: {
    50: '#c46c9a',
    500: '#a52172',
    950: '#000000',
  },
}
SCSS
$custom: #a52172;
$custom-light: #c46c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a52172",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 323.182,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.18226,
    "h": 348.6
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#A52172
secondary
#5EC485
accent
#EA803E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A52172

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

Preview Lab → · Contrast checker → · Palette generator →

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