#A02171#A02171

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

Color values

HEX#A02171
RGBrgb(160, 33, 113)
HSLhsl(322, 66%, 38%)
HSVhsv(322, 79%, 63%)
CMYKcmyk(0%, 79.4%, 29.4%, 37.3%)
CIE-LABlab(37.40, 57.08, -14.67)
CIE-LCHlch(37.40, 58.93, 345.58°)
OKLaboklab(48.4% 0.1741 -0.0387)
OKLCHoklch(48.4% 0.178 347.5)
XYZxyz(18.0226, 9.7556, 16.5535)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02171 #21A050
analogous
#8F21A0 #A02171 #A02131
triadic
#A02171 #71A021 #2171A0
tetradic
#A02171 #A08F21 #21A050 #2131A0
square
#A02171 #A08F21 #21A050 #2131A0
split-complementary
#A02171 #31A021 #21A08F
monochromatic
#3B0C29 #6D174D #A02171 #D32B95 #DE5EAE

Accessibility & contrast

On white

7.12
#A02171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A02171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02171
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02171#FFFFFF#000000##FFFFFF
##A021711.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#AC1B47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a02171;
/* rgb */ color: rgb(160, 33, 113);
/* oklch */ color: oklch(48.4% 0.178 347.5);
Tailwind
colors: {
  custom: {
    50: '#c06b9a',
    500: '#a02171',
    950: '#000000',
  },
}
SCSS
$custom: #a02171;
$custom-light: #c06b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a02171",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 322.205,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.17831,
    "h": 347.5
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#A02171
secondary
#5BC281
accent
#E97E3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A02171

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

Preview Lab → · Contrast checker → · Palette generator →

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