#A71D96#A71D96

#A71D96 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.209 H 334.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A71D96
RGBrgb(167, 29, 150)
HSLhsl(307, 70%, 38%)
HSVhsv(307, 83%, 65%)
CMYKcmyk(0%, 82.6%, 10.2%, 34.5%)
CIE-LABlab(40.08, 64.72, -33.28)
CIE-LCHlch(40.08, 72.78, 332.79°)
OKLaboklab(51.14% 0.1882 -0.0913)
OKLCHoklch(51.14% 0.209 334.1)
XYZxyz(21.8810, 11.2982, 29.8766)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D96 #1DA72E
analogous
#731DA7 #A71D96 #A71D51
triadic
#A71D96 #96A71D #1D96A7
tetradic
#A71D96 #A7731D #1DA72E #1D51A7
square
#A71D96 #A7731D #1DA72E #1D51A7
split-complementary
#A71D96 #51A71D #1DA773
monochromatic
#3F0B38 #731467 #A71D96 #DA28C4 #E35CD2

Accessibility & contrast

On white

6.44
#A71D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A71D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71D96
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D96#FFFFFF#000000##FFFFFF
##A71D961.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#AF2D5A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71d96;
/* rgb */ color: rgb(167, 29, 150);
/* oklch */ color: oklch(51.1% 0.209 334.1);
Tailwind
colors: {
  custom: {
    50: '#c56cb5',
    500: '#a71d96',
    950: '#000000',
  },
}
SCSS
$custom: #a71d96;
$custom-light: #c56cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d96",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 307.391,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.20921,
    "h": 334.1
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#A71D96
secondary
#59C767
accent
#ED513B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D96

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

Preview Lab → · Contrast checker → · Palette generator →

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