#A71D95#A71D95

#A71D95 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.209 H 334.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A71D95
RGBrgb(167, 29, 149)
HSLhsl(308, 70%, 38%)
HSVhsv(308, 83%, 65%)
CMYKcmyk(0%, 82.6%, 10.8%, 34.5%)
CIE-LABlab(40.03, 64.58, -32.75)
CIE-LCHlch(40.03, 72.41, 333.11°)
OKLaboklab(51.08% 0.1882 -0.0898)
OKLCHoklch(51.08% 0.209 334.5)
XYZxyz(21.8008, 11.2662, 29.4544)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D95 #1DA72F
analogous
#741DA7 #A71D95 #A71D50
triadic
#A71D95 #95A71D #1D95A7
tetradic
#A71D95 #A7741D #1DA72F #1D50A7
square
#A71D95 #A7741D #1DA72F #1D50A7
split-complementary
#A71D95 #50A71D #1DA774
monochromatic
#3F0B38 #731466 #A71D95 #DA28C2 #E35CD1

Accessibility & contrast

On white

6.46
#A71D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71D95
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D95#FFFFFF#000000##FFFFFF
##A71D951.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#526592
Tritanopia (blue-blind)
#AF2C5A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71d95;
/* rgb */ color: rgb(167, 29, 149);
/* oklch */ color: oklch(51.1% 0.209 334.5);
Tailwind
colors: {
  custom: {
    50: '#c56cb4',
    500: '#a71d95',
    950: '#000000',
  },
}
SCSS
$custom: #a71d95;
$custom-light: #c56cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d95",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 307.826,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.20853,
    "h": 334.5
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#A71D95
secondary
#59C767
accent
#ED523B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D95

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

Preview Lab → · Contrast checker → · Palette generator →

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