#A71B8A#A71B8A

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

Color values

HEX#A71B8A
RGBrgb(167, 27, 138)
HSLhsl(312, 72%, 38%)
HSVhsv(312, 84%, 65%)
CMYKcmyk(0%, 83.8%, 17.4%, 34.5%)
CIE-LABlab(39.30, 63.49, -27.17)
CIE-LCHlch(39.30, 69.06, 336.84°)
OKLaboklab(50.38% 0.1889 -0.0738)
OKLCHoklch(50.38% 0.203 338.7)
XYZxyz(20.9163, 10.8365, 25.0299)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B8A #1BA738
analogous
#7E1BA7 #A71B8A #A71B44
triadic
#A71B8A #8AA71B #1B8AA7
tetradic
#A71B8A #A77E1B #1BA738 #1B44A7
square
#A71B8A #A77E1B #1BA738 #1B44A7
split-complementary
#A71B8A #44A71B #1BA77E
monochromatic
#3E0A33 #72125E #A71B8A #DC24B5 #E458C7

Accessibility & contrast

On white

6.63
#A71B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A71B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B8A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B8A#FFFFFF#000000##FFFFFF
##A71B8A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71b8a;
/* rgb */ color: rgb(167, 27, 138);
/* oklch */ color: oklch(50.4% 0.203 338.7);
Tailwind
colors: {
  custom: {
    50: '#c56bac',
    500: '#a71b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a71b8a;
$custom-light: #c56bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b8a",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 312.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.2028,
    "h": 338.7
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#A71B8A
secondary
#56C86E
accent
#EF5F39
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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