#A71B8E#A71B8E

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

Color values

HEX#A71B8E
RGBrgb(167, 27, 142)
HSLhsl(311, 72%, 38%)
HSVhsv(311, 84%, 65%)
CMYKcmyk(0%, 83.8%, 15%, 34.5%)
CIE-LABlab(39.50, 64.04, -29.30)
CIE-LCHlch(39.50, 70.43, 335.41°)
OKLaboklab(50.59% 0.1892 -0.0799)
OKLCHoklch(50.59% 0.205 337.1)
XYZxyz(21.2112, 10.9544, 26.5833)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B8E #1BA734
analogous
#7A1BA7 #A71B8E #A71B48
triadic
#A71B8E #8EA71B #1B8EA7
tetradic
#A71B8E #A77A1B #1BA734 #1B48A7
square
#A71B8E #A77A1B #1BA734 #1B48A7
split-complementary
#A71B8E #48A71B #1BA77A
monochromatic
#3E0A34 #721261 #A71B8E #DC24BB #E458CB

Accessibility & contrast

On white

6.58
#A71B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A71B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B8E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B8E#FFFFFF#000000##FFFFFF
##A71B8E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#B02655
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71b8e;
/* rgb */ color: rgb(167, 27, 142);
/* oklch */ color: oklch(50.6% 0.205 337.1);
Tailwind
colors: {
  custom: {
    50: '#c56baf',
    500: '#a71b8e',
    950: '#000000',
  },
}
SCSS
$custom: #a71b8e;
$custom-light: #c56baf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b8e",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 310.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.20539,
    "h": 337.1
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#A71B8E
secondary
#56C86A
accent
#EF5939
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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