#A71B8B#A71B8B

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

Color values

HEX#A71B8B
RGBrgb(167, 27, 139)
HSLhsl(312, 72%, 38%)
HSVhsv(312, 84%, 65%)
CMYKcmyk(0%, 83.8%, 16.8%, 34.5%)
CIE-LABlab(39.35, 63.63, -27.70)
CIE-LCHlch(39.35, 69.40, 336.47°)
OKLaboklab(50.43% 0.189 -0.0753)
OKLCHoklch(50.43% 0.203 338.3)
XYZxyz(20.9890, 10.8656, 25.4130)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B8B #1BA737
analogous
#7D1BA7 #A71B8B #A71B45
triadic
#A71B8B #8BA71B #1B8BA7
tetradic
#A71B8B #A77D1B #1BA737 #1B45A7
square
#A71B8B #A77D1B #1BA737 #1B45A7
split-complementary
#A71B8B #45A71B #1BA77D
monochromatic
#3E0A33 #72125F #A71B8B #DC24B7 #E458C8

Accessibility & contrast

On white

6.62
#A71B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71B8B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B8B#FFFFFF#000000##FFFFFF
##A71B8B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#B12454
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71b8b;
/* rgb */ color: rgb(167, 27, 139);
/* oklch */ color: oklch(50.4% 0.203 338.3);
Tailwind
colors: {
  custom: {
    50: '#c56bad',
    500: '#a71b8b',
    950: '#000000',
  },
}
SCSS
$custom: #a71b8b;
$custom-light: #c56bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b8b",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 312,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.20344,
    "h": 338.3
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#A71B8B
secondary
#56C86D
accent
#EF5D39
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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