#A71C95#A71C95

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

Color values

HEX#A71C95
RGBrgb(167, 28, 149)
HSLhsl(308, 71%, 38%)
HSVhsv(308, 83%, 65%)
CMYKcmyk(0%, 83.2%, 10.8%, 34.5%)
CIE-LABlab(39.95, 64.81, -32.88)
CIE-LCHlch(39.95, 72.67, 333.10°)
OKLaboklab(51.02% 0.1889 -0.0902)
OKLCHoklch(51.02% 0.209 334.5)
XYZxyz(21.7767, 11.2179, 29.4463)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C95 #1CA72E
analogous
#731CA7 #A71C95 #A71C4F
triadic
#A71C95 #95A71C #1C95A7
tetradic
#A71C95 #A7731C #1CA72E #1C4FA7
square
#A71C95 #A7731C #1CA72E #1C4FA7
split-complementary
#A71C95 #4FA71C #1CA773
monochromatic
#3E0A37 #731366 #A71C95 #DB26C3 #E35AD2

Accessibility & contrast

On white

6.48
#A71C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A71C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C95
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C95#FFFFFF#000000##FFFFFF
##A71C951.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71c95;
/* rgb */ color: rgb(167, 28, 149);
/* oklch */ color: oklch(51.0% 0.209 334.5);
Tailwind
colors: {
  custom: {
    50: '#c56cb4',
    500: '#a71c95',
    950: '#000000',
  },
}
SCSS
$custom: #a71c95;
$custom-light: #c56cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c95",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 307.77,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.2093,
    "h": 334.5
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#A71C95
secondary
#58C766
accent
#EE513A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C95

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

Preview Lab → · Contrast checker → · Palette generator →

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