#A71B93#A71B93

#A71B93 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.209 H 335.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A71B93
RGBrgb(167, 27, 147)
HSLhsl(309, 72%, 38%)
HSVhsv(309, 84%, 65%)
CMYKcmyk(0%, 83.8%, 12%, 34.5%)
CIE-LABlab(39.76, 64.75, -31.95)
CIE-LCHlch(39.76, 72.20, 333.73°)
OKLaboklab(50.86% 0.1895 -0.0875)
OKLCHoklch(50.86% 0.209 335.2)
XYZxyz(21.5951, 11.1080, 28.6048)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B93 #1BA72F
analogous
#751BA7 #A71B93 #A71B4D
triadic
#A71B93 #93A71B #1B93A7
tetradic
#A71B93 #A7751B #1BA72F #1B4DA7
square
#A71B93 #A7751B #1BA72F #1B4DA7
split-complementary
#A71B93 #4DA71B #1BA775
monochromatic
#3E0A36 #721265 #A71B93 #DC24C1 #E458D0

Accessibility & contrast

On white

6.52
#A71B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71B93
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B93#FFFFFF#000000##FFFFFF
##A71B931.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5196
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#B02A58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71b93;
/* rgb */ color: rgb(167, 27, 147);
/* oklch */ color: oklch(50.9% 0.209 335.2);
Tailwind
colors: {
  custom: {
    50: '#c56cb3',
    500: '#a71b93',
    950: '#000000',
  },
}
SCSS
$custom: #a71b93;
$custom-light: #c56cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b93",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 308.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.20871,
    "h": 335.2
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#A71B93
secondary
#56C866
accent
#EF5339
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B93

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

Preview Lab → · Contrast checker → · Palette generator →

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