#A71E8D#A71E8D

#A71E8D is a mid, highly saturated pink. Relative luminance 0.111; OKLCH L 50.7% C 0.202 H 337.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A71E8D
RGBrgb(167, 30, 141)
HSLhsl(311, 70%, 39%)
HSVhsv(311, 82%, 65%)
CMYKcmyk(0%, 82%, 15.6%, 34.5%)
CIE-LABlab(39.70, 63.20, -28.39)
CIE-LCHlch(39.70, 69.28, 335.81°)
OKLaboklab(50.71% 0.187 -0.0773)
OKLCHoklch(50.71% 0.202 337.6)
XYZxyz(21.2088, 11.0692, 26.2137)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E8D #1EA738
analogous
#7C1EA7 #A71E8D #A71E48
triadic
#A71E8D #8DA71E #1E8DA7
tetradic
#A71E8D #A77C1E #1EA738 #1E48A7
square
#A71E8D #A77C1E #1EA738 #1E48A7
split-complementary
#A71E8D #48A71E #1EA77C
monochromatic
#3F0B35 #731561 #A71E8D #D92AB7 #E25DC9

Accessibility & contrast

On white

6.54
#A71E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A71E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E8D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E8D#FFFFFF#000000##FFFFFF
##A71E8D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#B02855
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71e8d;
/* rgb */ color: rgb(167, 30, 141);
/* oklch */ color: oklch(50.7% 0.202 337.6);
Tailwind
colors: {
  custom: {
    50: '#c56cae',
    500: '#a71e8d',
    950: '#000000',
  },
}
SCSS
$custom: #a71e8d;
$custom-light: #c56cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e8d",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 311.387,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.20236,
    "h": 337.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#A71E8D
secondary
#5BC66F
accent
#EC5D3B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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