#A71B96#A71B96

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

Color values

HEX#A71B96
RGBrgb(167, 27, 150)
HSLhsl(307, 72%, 38%)
HSVhsv(307, 84%, 65%)
CMYKcmyk(0%, 83.8%, 10.2%, 34.5%)
CIE-LABlab(39.92, 65.18, -33.52)
CIE-LCHlch(39.92, 73.30, 332.78°)
OKLaboklab(51.02% 0.1896 -0.092)
OKLCHoklch(51.02% 0.211 334.1)
XYZxyz(21.8336, 11.2034, 29.8608)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B96 #1BA72C
analogous
#721BA7 #A71B96 #A71B50
triadic
#A71B96 #96A71B #1B96A7
tetradic
#A71B96 #A7721B #1BA72C #1B50A7
square
#A71B96 #A7721B #1BA72C #1B50A7
split-complementary
#A71B96 #50A71B #1BA772
monochromatic
#3E0A37 #721267 #A71B96 #DC24C5 #E458D3

Accessibility & contrast

On white

6.48
#A71B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A71B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B96
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B96#FFFFFF#000000##FFFFFF
##A71B961.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71b96;
/* rgb */ color: rgb(167, 27, 150);
/* oklch */ color: oklch(51.0% 0.211 334.1);
Tailwind
colors: {
  custom: {
    50: '#c56cb5',
    500: '#a71b96',
    950: '#000000',
  },
}
SCSS
$custom: #a71b96;
$custom-light: #c56cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b96",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 307.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.21073,
    "h": 334.1
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#A71B96
secondary
#56C864
accent
#EF4F39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B96

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

Preview Lab → · Contrast checker → · Palette generator →

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