#A72171#A72171

#A72171 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.183 H 349.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A72171
RGBrgb(167, 33, 113)
HSLhsl(324, 67%, 39%)
HSVhsv(324, 80%, 65%)
CMYKcmyk(0%, 80.2%, 32.3%, 34.5%)
CIE-LABlab(38.72, 58.84, -12.54)
CIE-LCHlch(38.72, 60.16, 347.97°)
OKLaboklab(49.6% 0.1802 -0.0328)
OKLCHoklch(49.6% 0.183 349.7)
XYZxyz(19.4620, 10.4978, 16.6210)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72171 #21A757
analogous
#9A21A7 #A72171 #A7212E
triadic
#A72171 #71A721 #2171A7
tetradic
#A72171 #A79A21 #21A757 #212EA7
square
#A72171 #A79A21 #21A757 #212EA7
split-complementary
#A72171 #2EA721 #21A79A
monochromatic
#410D2C #74174E #A72171 #D62F93 #E062AD

Accessibility & contrast

On white

6.78
#A72171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A72171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72171
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72171#FFFFFF#000000##FFFFFF
##A721711.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#60646E
Tritanopia (blue-blind)
#B41647
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a72171;
/* rgb */ color: rgb(167, 33, 113);
/* oklch */ color: oklch(49.6% 0.183 349.7);
Tailwind
colors: {
  custom: {
    50: '#c66c99',
    500: '#a72171',
    950: '#000000',
  },
}
SCSS
$custom: #a72171;
$custom-light: #c66c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a72171",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 324.179,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.18311,
    "h": 349.7
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#A72171
secondary
#5FC588
accent
#EA833E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080E
muted
#827A7E

Preview Lab

Preview with #A72171

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

Preview Lab → · Contrast checker → · Palette generator →

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