#A71C8F#A71C8F

#A71C8F is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.7% C 0.205 H 336.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A71C8F
RGBrgb(167, 28, 143)
HSLhsl(310, 71%, 38%)
HSVhsv(310, 83%, 65%)
CMYKcmyk(0%, 83.2%, 14.4%, 34.5%)
CIE-LABlab(39.63, 63.95, -29.71)
CIE-LCHlch(39.63, 70.52, 335.08°)
OKLaboklab(50.7% 0.1886 -0.081)
OKLCHoklch(50.7% 0.205 336.7)
XYZxyz(21.3100, 11.0312, 26.9882)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C8F #1CA734
analogous
#791CA7 #A71C8F #A71C49
triadic
#A71C8F #8FA71C #1C8FA7
tetradic
#A71C8F #A7791C #1CA734 #1C49A7
square
#A71C8F #A7791C #1CA734 #1C49A7
split-complementary
#A71C8F #49A71C #1CA779
monochromatic
#3E0A35 #731362 #A71C8F #DB26BB #E35ACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71C8F#FFFFFF#000000##FFFFFF
##A71C8F1.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)
#205092
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#B02856
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71c8f;
/* rgb */ color: rgb(167, 28, 143);
/* oklch */ color: oklch(50.7% 0.205 336.7);
Tailwind
colors: {
  custom: {
    50: '#c56cb0',
    500: '#a71c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a71c8f;
$custom-light: #c56cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c8f",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 310.36,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.507,
    "c": 0.20528,
    "h": 336.7
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#A71C8F
secondary
#58C76B
accent
#EE593A
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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