#A71D99#A71D99

#A71D99 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.211 H 333.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A71D99
RGBrgb(167, 29, 153)
HSLhsl(306, 70%, 38%)
HSVhsv(306, 83%, 65%)
CMYKcmyk(0%, 82.6%, 8.4%, 34.5%)
CIE-LABlab(40.24, 65.17, -34.84)
CIE-LCHlch(40.24, 73.89, 331.87°)
OKLaboklab(51.3% 0.1883 -0.0958)
OKLCHoklch(51.3% 0.211 333)
XYZxyz(22.1256, 11.3961, 31.1652)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D99 #1DA72B
analogous
#701DA7 #A71D99 #A71D54
triadic
#A71D99 #99A71D #1D99A7
tetradic
#A71D99 #A7701D #1DA72B #1D54A7
square
#A71D99 #A7701D #1DA72B #1D54A7
split-complementary
#A71D99 #54A71D #1DA770
monochromatic
#3F0B39 #731469 #A71D99 #DA28C8 #E35CD5

Accessibility & contrast

On white

6.40
#A71D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A71D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71D99
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D99#FFFFFF#000000##FFFFFF
##A71D991.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71d99;
/* rgb */ color: rgb(167, 29, 153);
/* oklch */ color: oklch(51.3% 0.211 333.0);
Tailwind
colors: {
  custom: {
    50: '#c56cb7',
    500: '#a71d99',
    950: '#000000',
  },
}
SCSS
$custom: #a71d99;
$custom-light: #c56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d99",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 306.087,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.21128,
    "h": 333
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#A71D99
secondary
#59C764
accent
#ED4D3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D99

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

Preview Lab → · Contrast checker → · Palette generator →

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