#A71C96#A71C96

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

Color values

HEX#A71C96
RGBrgb(167, 28, 150)
HSLhsl(307, 71%, 38%)
HSVhsv(307, 83%, 65%)
CMYKcmyk(0%, 83.2%, 10.2%, 34.5%)
CIE-LABlab(40.00, 64.96, -33.40)
CIE-LCHlch(40.00, 73.04, 332.79°)
OKLaboklab(51.08% 0.1889 -0.0917)
OKLCHoklch(51.08% 0.21 334.1)
XYZxyz(21.8569, 11.2500, 29.8686)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C96 #1CA72D
analogous
#721CA7 #A71C96 #A71C50
triadic
#A71C96 #96A71C #1C96A7
tetradic
#A71C96 #A7721C #1CA72D #1C50A7
square
#A71C96 #A7721C #1CA72D #1C50A7
split-complementary
#A71C96 #50A71C #1CA772
monochromatic
#3E0A38 #731367 #A71C96 #DB26C4 #E35AD3

Accessibility & contrast

On white

6.46
#A71C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A71C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C96
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C96#FFFFFF#000000##FFFFFF
##A71C961.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71c96;
/* rgb */ color: rgb(167, 28, 150);
/* oklch */ color: oklch(51.1% 0.210 334.1);
Tailwind
colors: {
  custom: {
    50: '#c56cb5',
    500: '#a71c96',
    950: '#000000',
  },
}
SCSS
$custom: #a71c96;
$custom-light: #c56cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c96",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 307.338,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.20999,
    "h": 334.1
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#A71C96
secondary
#58C765
accent
#EE503A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C96

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

Preview Lab → · Contrast checker → · Palette generator →

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