#A71E95#A71E95

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

Color values

HEX#A71E95
RGBrgb(167, 30, 149)
HSLhsl(308, 70%, 39%)
HSVhsv(308, 82%, 65%)
CMYKcmyk(0%, 82%, 10.8%, 34.5%)
CIE-LABlab(40.11, 64.34, -32.62)
CIE-LCHlch(40.11, 72.14, 333.11°)
OKLaboklab(51.14% 0.1875 -0.0894)
OKLCHoklch(51.14% 0.208 334.5)
XYZxyz(21.8257, 11.3160, 29.4627)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E95 #1EA730
analogous
#741EA7 #A71E95 #A71E50
triadic
#A71E95 #95A71E #1E95A7
tetradic
#A71E95 #A7741E #1EA730 #1E50A7
square
#A71E95 #A7741E #1EA730 #1E50A7
split-complementary
#A71E95 #50A71E #1EA774
monochromatic
#3F0B38 #731567 #A71E95 #D92AC2 #E25DD1

Accessibility & contrast

On white

6.44
#A71E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A71E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E95
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E95#FFFFFF#000000##FFFFFF
##A71E951.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71e95;
/* rgb */ color: rgb(167, 30, 149);
/* oklch */ color: oklch(51.1% 0.208 334.5);
Tailwind
colors: {
  custom: {
    50: '#c56cb4',
    500: '#a71e95',
    950: '#000000',
  },
}
SCSS
$custom: #a71e95;
$custom-light: #c56cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e95",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 307.883,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.20773,
    "h": 334.5
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#A71E95
secondary
#5BC669
accent
#EC533B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E95

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

Preview Lab → · Contrast checker → · Palette generator →

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