#A71C8A#A71C8A

#A71C8A is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.4% C 0.202 H 338.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A71C8A
RGBrgb(167, 28, 138)
HSLhsl(313, 71%, 38%)
HSVhsv(313, 83%, 65%)
CMYKcmyk(0%, 83.2%, 17.4%, 34.5%)
CIE-LABlab(39.38, 63.26, -27.04)
CIE-LCHlch(39.38, 68.80, 336.86°)
OKLaboklab(50.44% 0.1882 -0.0734)
OKLCHoklch(50.44% 0.202 338.7)
XYZxyz(20.9396, 10.8831, 25.0377)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C8A #1CA739
analogous
#7E1CA7 #A71C8A #A71C44
triadic
#A71C8A #8AA71C #1C8AA7
tetradic
#A71C8A #A77E1C #1CA739 #1C44A7
square
#A71C8A #A77E1C #1CA739 #1C44A7
split-complementary
#A71C8A #44A71C #1CA77E
monochromatic
#3E0A33 #73135F #A71C8A #DB26B5 #E35AC7

Accessibility & contrast

On white

6.61
#A71C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A71C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C8A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C8A#FFFFFF#000000##FFFFFF
##A71C8A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#B12453
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71c8a;
/* rgb */ color: rgb(167, 28, 138);
/* oklch */ color: oklch(50.4% 0.202 338.7);
Tailwind
colors: {
  custom: {
    50: '#c56bac',
    500: '#a71c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a71c8a;
$custom-light: #c56bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c8a",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 312.518,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.20202,
    "h": 338.7
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#A71C8A
secondary
#58C76F
accent
#EE5F3A
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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