#A71C91#A71C91

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

Color values

HEX#A71C91
RGBrgb(167, 28, 145)
HSLhsl(309, 71%, 38%)
HSVhsv(309, 83%, 65%)
CMYKcmyk(0%, 83.2%, 13.2%, 34.5%)
CIE-LABlab(39.74, 64.24, -30.77)
CIE-LCHlch(39.74, 71.23, 334.40°)
OKLaboklab(50.81% 0.1887 -0.0841)
OKLCHoklch(50.81% 0.207 336)
XYZxyz(21.4628, 11.0924, 27.7933)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C91 #1CA732
analogous
#771CA7 #A71C91 #A71C4C
triadic
#A71C91 #91A71C #1C91A7
tetradic
#A71C91 #A7771C #1CA732 #1C4CA7
square
#A71C91 #A7771C #1CA732 #1C4CA7
split-complementary
#A71C91 #4CA71C #1CA777
monochromatic
#3E0A36 #731363 #A71C91 #DB26BE #E35ACE

Accessibility & contrast

On white

6.53
#A71C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A71C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C91
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C91#FFFFFF#000000##FFFFFF
##A71C911.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71c91;
/* rgb */ color: rgb(167, 28, 145);
/* oklch */ color: oklch(50.8% 0.207 336.0);
Tailwind
colors: {
  custom: {
    50: '#c56cb1',
    500: '#a71c91',
    950: '#000000',
  },
}
SCSS
$custom: #a71c91;
$custom-light: #c56cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c91",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 309.496,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.20661,
    "h": 336
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#A71C91
secondary
#58C769
accent
#EE563A
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C91

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

Preview Lab → · Contrast checker → · Palette generator →

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