#A71B97#A71B97

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

Color values

HEX#A71B97
RGBrgb(167, 27, 151)
HSLhsl(307, 72%, 38%)
HSVhsv(307, 84%, 65%)
CMYKcmyk(0%, 83.8%, 9.6%, 34.5%)
CIE-LABlab(39.97, 65.33, -34.05)
CIE-LCHlch(39.97, 73.67, 332.47°)
OKLaboklab(51.08% 0.1896 -0.0935)
OKLCHoklch(51.08% 0.211 333.7)
XYZxyz(21.9144, 11.2357, 30.2867)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B97 #1BA72B
analogous
#711BA7 #A71B97 #A71B51
triadic
#A71B97 #97A71B #1B97A7
tetradic
#A71B97 #A7711B #1BA72B #1B51A7
square
#A71B97 #A7711B #1BA72B #1B51A7
split-complementary
#A71B97 #51A71B #1BA771
monochromatic
#3E0A38 #721267 #A71B97 #DC24C7 #E458D4

Accessibility & contrast

On white

6.47
#A71B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71B97
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B97#FFFFFF#000000##FFFFFF
##A71B971.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#AF2C5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71b97;
/* rgb */ color: rgb(167, 27, 151);
/* oklch */ color: oklch(51.1% 0.211 333.7);
Tailwind
colors: {
  custom: {
    50: '#c56cb6',
    500: '#a71b97',
    950: '#000000',
  },
}
SCSS
$custom: #a71b97;
$custom-light: #c56cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b97",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 306.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.21141,
    "h": 333.7
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#A71B97
secondary
#56C863
accent
#EF4E39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B97

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

Preview Lab → · Contrast checker → · Palette generator →

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