#A71B91#A71B91

#A71B91 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.207 H 336.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A71B91
RGBrgb(167, 27, 145)
HSLhsl(309, 72%, 38%)
HSVhsv(309, 84%, 65%)
CMYKcmyk(0%, 83.8%, 13.2%, 34.5%)
CIE-LABlab(39.66, 64.46, -30.90)
CIE-LCHlch(39.66, 71.48, 334.39°)
OKLaboklab(50.75% 0.1894 -0.0844)
OKLCHoklch(50.75% 0.207 336)
XYZxyz(21.4395, 11.0457, 27.7855)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B91 #1BA731
analogous
#771BA7 #A71B91 #A71B4B
triadic
#A71B91 #91A71B #1B91A7
tetradic
#A71B91 #A7771B #1BA731 #1B4BA7
square
#A71B91 #A7771B #1BA731 #1B4BA7
split-complementary
#A71B91 #4BA71B #1BA777
monochromatic
#3E0A36 #721263 #A71B91 #DC24BF #E458CE

Accessibility & contrast

On white

6.54
#A71B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A71B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B91
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B91#FFFFFF#000000##FFFFFF
##A71B911.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#B02957
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71b91;
/* rgb */ color: rgb(167, 27, 145);
/* oklch */ color: oklch(50.8% 0.207 336.0);
Tailwind
colors: {
  custom: {
    50: '#c56bb1',
    500: '#a71b91',
    950: '#000000',
  },
}
SCSS
$custom: #a71b91;
$custom-light: #c56bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b91",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 309.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.20737,
    "h": 336
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#A71B91
secondary
#56C868
accent
#EF5639
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B91

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

Preview Lab → · Contrast checker → · Palette generator →

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