#A71F8A#A71F8A

#A71F8A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.6% C 0.200 H 338.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A71F8A
RGBrgb(167, 31, 138)
HSLhsl(313, 69%, 39%)
HSVhsv(313, 81%, 65%)
CMYKcmyk(0%, 81.4%, 17.4%, 34.5%)
CIE-LABlab(39.64, 62.53, -26.65)
CIE-LCHlch(39.64, 67.97, 336.92°)
OKLaboklab(50.62% 0.186 -0.0723)
OKLCHoklch(50.62% 0.2 338.8)
XYZxyz(21.0143, 11.0326, 25.0626)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F8A #1FA73C
analogous
#801FA7 #A71F8A #A71F46
triadic
#A71F8A #8AA71F #1F8AA7
tetradic
#A71F8A #A7801F #1FA73C #1F46A7
square
#A71F8A #A7801F #1FA73C #1F46A7
split-complementary
#A71F8A #46A71F #1FA780
monochromatic
#400C35 #73155F #A71F8A #D82BB3 #E15FC6

Accessibility & contrast

On white

6.55
#A71F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71F8A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F8A#FFFFFF#000000##FFFFFF
##A71F8A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#B12754
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71f8a;
/* rgb */ color: rgb(167, 31, 138);
/* oklch */ color: oklch(50.6% 0.200 338.8);
Tailwind
colors: {
  custom: {
    50: '#c56cac',
    500: '#a71f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a71f8a;
$custom-light: #c56cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f8a",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 312.794,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.19957,
    "h": 338.8
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#A71F8A
secondary
#5CC673
accent
#EC623C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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