#A71F99#A71F99

#A71F99 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.210 H 333.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A71F99
RGBrgb(167, 31, 153)
HSLhsl(306, 69%, 39%)
HSVhsv(306, 81%, 65%)
CMYKcmyk(0%, 81.4%, 8.4%, 34.5%)
CIE-LABlab(40.41, 64.68, -34.58)
CIE-LCHlch(40.41, 73.35, 331.87°)
OKLaboklab(51.42% 0.1869 -0.0951)
OKLCHoklch(51.42% 0.21 333)
XYZxyz(22.1763, 11.4973, 31.1821)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F99 #1FA72D
analogous
#711FA7 #A71F99 #A71F55
triadic
#A71F99 #99A71F #1F99A7
tetradic
#A71F99 #A7711F #1FA72D #1F55A7
square
#A71F99 #A7711F #1FA72D #1F55A7
split-complementary
#A71F99 #55A71F #1FA771
monochromatic
#400C3A #73156A #A71F99 #D82BC6 #E15FD4

Accessibility & contrast

On white

6.37
#A71F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A71F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F99
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F99#FFFFFF#000000##FFFFFF
##A71F991.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#AF305C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71f99;
/* rgb */ color: rgb(167, 31, 153);
/* oklch */ color: oklch(51.4% 0.210 333.0);
Tailwind
colors: {
  custom: {
    50: '#c56db7',
    500: '#a71f99',
    950: '#000000',
  },
}
SCSS
$custom: #a71f99;
$custom-light: #c56db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f99",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 306.176,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.20969,
    "h": 333
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#A71F99
secondary
#5CC667
accent
#EC4E3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F99

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

Preview Lab → · Contrast checker → · Palette generator →

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