#A71E8F#A71E8F

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

Color values

HEX#A71E8F
RGBrgb(167, 30, 143)
HSLhsl(311, 70%, 39%)
HSVhsv(311, 82%, 65%)
CMYKcmyk(0%, 82%, 14.4%, 34.5%)
CIE-LABlab(39.80, 63.48, -29.46)
CIE-LCHlch(39.80, 69.98, 335.11°)
OKLaboklab(50.82% 0.1872 -0.0803)
OKLCHoklch(50.82% 0.204 336.8)
XYZxyz(21.3590, 11.1293, 27.0046)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E8F #1EA736
analogous
#7A1EA7 #A71E8F #A71E4A
triadic
#A71E8F #8FA71E #1E8FA7
tetradic
#A71E8F #A77A1E #1EA736 #1E4AA7
square
#A71E8F #A77A1E #1EA736 #1E4AA7
split-complementary
#A71E8F #4AA71E #1EA77A
monochromatic
#3F0B36 #731563 #A71E8F #D92ABA #E25DCB

Accessibility & contrast

On white

6.51
#A71E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A71E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E8F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E8F#FFFFFF#000000##FFFFFF
##A71E8F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71e8f;
/* rgb */ color: rgb(167, 30, 143);
/* oklch */ color: oklch(50.8% 0.204 336.8);
Tailwind
colors: {
  custom: {
    50: '#c56cb0',
    500: '#a71e8f',
    950: '#000000',
  },
}
SCSS
$custom: #a71e8f;
$custom-light: #c56cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e8f",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 310.511,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.20369,
    "h": 336.8
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#A71E8F
secondary
#5BC66D
accent
#EC5A3B
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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