#A71C99#A71C99

#A71C99 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.212 H 333.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A71C99
RGBrgb(167, 28, 153)
HSLhsl(306, 71%, 38%)
HSVhsv(306, 83%, 65%)
CMYKcmyk(0%, 83.2%, 8.4%, 34.5%)
CIE-LABlab(40.16, 65.40, -34.97)
CIE-LCHlch(40.16, 74.16, 331.87°)
OKLaboklab(51.25% 0.189 -0.0962)
OKLCHoklch(51.25% 0.212 333)
XYZxyz(22.1015, 11.3479, 31.1572)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C99 #1CA72A
analogous
#6F1CA7 #A71C99 #A71C53
triadic
#A71C99 #99A71C #1C99A7
tetradic
#A71C99 #A76F1C #1CA72A #1C53A7
square
#A71C99 #A76F1C #1CA72A #1C53A7
split-complementary
#A71C99 #53A71C #1CA76F
monochromatic
#3E0A39 #731369 #A71C99 #DB26C8 #E35AD6

Accessibility & contrast

On white

6.42
#A71C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A71C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C99
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C99#FFFFFF#000000##FFFFFF
##A71C991.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529C
Deuteranopia (green-blind)
#506596
Tritanopia (blue-blind)
#AF2E5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71c99;
/* rgb */ color: rgb(167, 28, 153);
/* oklch */ color: oklch(51.2% 0.212 333.0);
Tailwind
colors: {
  custom: {
    50: '#c56cb7',
    500: '#a71c99',
    950: '#000000',
  },
}
SCSS
$custom: #a71c99;
$custom-light: #c56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c99",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 306.043,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.21204,
    "h": 333
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#A71C99
secondary
#58C763
accent
#EE4C3A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C99

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

Preview Lab → · Contrast checker → · Palette generator →

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