#A71D94#A71D94

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

Color values

HEX#A71D94
RGBrgb(167, 29, 148)
HSLhsl(308, 70%, 38%)
HSVhsv(308, 83%, 65%)
CMYKcmyk(0%, 82.6%, 11.4%, 34.5%)
CIE-LABlab(39.97, 64.43, -32.23)
CIE-LCHlch(39.97, 72.04, 333.43°)
OKLaboklab(51.03% 0.1882 -0.0883)
OKLCHoklch(51.03% 0.208 334.9)
XYZxyz(21.7213, 11.2344, 29.0357)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D94 #1DA730
analogous
#751DA7 #A71D94 #A71D4F
triadic
#A71D94 #94A71D #1D94A7
tetradic
#A71D94 #A7751D #1DA730 #1D4FA7
square
#A71D94 #A7751D #1DA730 #1D4FA7
split-complementary
#A71D94 #4FA71D #1DA775
monochromatic
#3F0B38 #731466 #A71D94 #DA28C1 #E35CD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71D94#FFFFFF#000000##FFFFFF
##A71D941.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)
#1B5197
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#AF2C59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71d94;
/* rgb */ color: rgb(167, 29, 148);
/* oklch */ color: oklch(51.0% 0.208 334.9);
Tailwind
colors: {
  custom: {
    50: '#c56cb4',
    500: '#a71d94',
    950: '#000000',
  },
}
SCSS
$custom: #a71d94;
$custom-light: #c56cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d94",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 308.261,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.20784,
    "h": 334.9
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#A71D94
secondary
#59C768
accent
#ED533B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D94

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

Preview Lab → · Contrast checker → · Palette generator →

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