#A71E8E#A71E8E

#A71E8E is a mid, highly saturated pink. Relative luminance 0.111; OKLCH L 50.8% C 0.203 H 337.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A71E8E
RGBrgb(167, 30, 142)
HSLhsl(311, 70%, 39%)
HSVhsv(311, 82%, 65%)
CMYKcmyk(0%, 82%, 15%, 34.5%)
CIE-LABlab(39.75, 63.34, -28.92)
CIE-LCHlch(39.75, 69.63, 335.46°)
OKLaboklab(50.77% 0.1871 -0.0788)
OKLCHoklch(50.77% 0.203 337.2)
XYZxyz(21.2836, 11.0991, 26.6074)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E8E #1EA737
analogous
#7B1EA7 #A71E8E #A71E49
triadic
#A71E8E #8EA71E #1E8EA7
tetradic
#A71E8E #A77B1E #1EA737 #1E49A7
square
#A71E8E #A77B1E #1EA737 #1E49A7
split-complementary
#A71E8E #49A71E #1EA77B
monochromatic
#3F0B36 #731562 #A71E8E #D92AB9 #E25DCA

Accessibility & contrast

On white

6.52
#A71E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A71E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E8E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E8E#FFFFFF#000000##FFFFFF
##A71E8E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235191
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#B02956
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71e8e;
/* rgb */ color: rgb(167, 30, 142);
/* oklch */ color: oklch(50.8% 0.203 337.2);
Tailwind
colors: {
  custom: {
    50: '#c56caf',
    500: '#a71e8e',
    950: '#000000',
  },
}
SCSS
$custom: #a71e8e;
$custom-light: #c56caf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e8e",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 310.949,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.20302,
    "h": 337.2
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#A71E8E
secondary
#5BC66E
accent
#EC5C3B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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