#A71F8F#A71F8F

#A71F8F is a mid, highly saturated pink. Relative luminance 0.112; OKLCH L 50.9% C 0.203 H 336.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A71F8F
RGBrgb(167, 31, 143)
HSLhsl(311, 69%, 39%)
HSVhsv(311, 81%, 65%)
CMYKcmyk(0%, 81.4%, 14.4%, 34.5%)
CIE-LABlab(39.88, 63.23, -29.32)
CIE-LCHlch(39.88, 69.70, 335.12°)
OKLaboklab(50.88% 0.1864 -0.0799)
OKLCHoklch(50.88% 0.203 336.8)
XYZxyz(21.3847, 11.1807, 27.0131)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F8F #1FA737
analogous
#7B1FA7 #A71F8F #A71F4B
triadic
#A71F8F #8FA71F #1F8FA7
tetradic
#A71F8F #A77B1F #1FA737 #1F4BA7
square
#A71F8F #A77B1F #1FA737 #1F4BA7
split-complementary
#A71F8F #4BA71F #1FA77B
monochromatic
#400C37 #731563 #A71F8F #D82BB9 #E15FCA

Accessibility & contrast

On white

6.49
#A71F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71F8F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F8F#FFFFFF#000000##FFFFFF
##A71F8F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#B02A57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71f8f;
/* rgb */ color: rgb(167, 31, 143);
/* oklch */ color: oklch(50.9% 0.203 336.8);
Tailwind
colors: {
  custom: {
    50: '#c56db0',
    500: '#a71f8f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f8f;
$custom-light: #c56db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f8f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 310.588,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.20285,
    "h": 336.8
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#A71F8F
secondary
#5CC66F
accent
#EC5B3C
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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