#A02172#A02172

#A02172 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.179 H 347.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A02172
RGBrgb(160, 33, 114)
HSLhsl(322, 66%, 38%)
HSVhsv(322, 79%, 63%)
CMYKcmyk(0%, 79.4%, 28.8%, 37.3%)
CIE-LABlab(37.44, 57.20, -15.24)
CIE-LCHlch(37.44, 59.20, 345.08°)
OKLaboklab(48.45% 0.1743 -0.0403)
OKLCHoklch(48.45% 0.179 347)
XYZxyz(18.0792, 9.7783, 16.8516)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02172 #21A04F
analogous
#8E21A0 #A02172 #A02133
triadic
#A02172 #72A021 #2172A0
tetradic
#A02172 #A08E21 #21A04F #2133A0
square
#A02172 #A08E21 #21A04F #2133A0
split-complementary
#A02172 #33A021 #21A08E
monochromatic
#3B0C2A #6D174E #A02172 #D32B96 #DE5EAF

Accessibility & contrast

On white

7.11
#A02172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A02172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02172
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02172#FFFFFF#000000##FFFFFF
##A021721.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#AC1C47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a02172;
/* rgb */ color: rgb(160, 33, 114);
/* oklch */ color: oklch(48.4% 0.179 347.0);
Tailwind
colors: {
  custom: {
    50: '#c06b9a',
    500: '#a02172',
    950: '#000000',
  },
}
SCSS
$custom: #a02172;
$custom-light: #c06b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a02172",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 321.732,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.17887,
    "h": 347
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#A02172
secondary
#5BC280
accent
#E97D3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A02172

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

Preview Lab → · Contrast checker → · Palette generator →

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