#A52170#A52170

#A52170 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.181 H 349.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A52170
RGBrgb(165, 33, 112)
HSLhsl(324, 67%, 39%)
HSVhsv(324, 80%, 65%)
CMYKcmyk(0%, 80%, 32.1%, 35.3%)
CIE-LABlab(38.30, 58.22, -12.58)
CIE-LCHlch(38.30, 59.56, 347.80°)
OKLaboklab(49.22% 0.1782 -0.0329)
OKLCHoklch(49.22% 0.181 349.5)
XYZxyz(18.9866, 10.2592, 16.3065)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52170 #21A556
analogous
#9821A5 #A52170 #A5212E
triadic
#A52170 #70A521 #2170A5
tetradic
#A52170 #A59821 #21A556 #212EA5
square
#A52170 #A59821 #21A556 #212EA5
split-complementary
#A52170 #2EA521 #21A598
monochromatic
#3F0D2B #72174D #A52170 #D52E92 #DF61AD

Accessibility & contrast

On white

6.88
#A52170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A52170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52170
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52170#FFFFFF#000000##FFFFFF
##A521701.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B72
Deuteranopia (green-blind)
#5F626D
Tritanopia (blue-blind)
#B11746
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a52170;
/* rgb */ color: rgb(165, 33, 112);
/* oklch */ color: oklch(49.2% 0.181 349.5);
Tailwind
colors: {
  custom: {
    50: '#c46c99',
    500: '#a52170',
    950: '#000000',
  },
}
SCSS
$custom: #a52170;
$custom-light: #c46c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a52170",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 324.091,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.18122,
    "h": 349.5
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#A52170
secondary
#5EC487
accent
#EA833E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A52170

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

Preview Lab → · Contrast checker → · Palette generator →

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