#A71B8F#A71B8F

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

Color values

HEX#A71B8F
RGBrgb(167, 27, 143)
HSLhsl(310, 72%, 38%)
HSVhsv(310, 84%, 65%)
CMYKcmyk(0%, 83.8%, 14.4%, 34.5%)
CIE-LABlab(39.55, 64.18, -29.84)
CIE-LCHlch(39.55, 70.78, 335.07°)
OKLaboklab(50.64% 0.1893 -0.0814)
OKLCHoklch(50.64% 0.206 336.7)
XYZxyz(21.2866, 10.9846, 26.9805)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B8F #1BA733
analogous
#791BA7 #A71B8F #A71B49
triadic
#A71B8F #8FA71B #1B8FA7
tetradic
#A71B8F #A7791B #1BA733 #1B49A7
square
#A71B8F #A7791B #1BA733 #1B49A7
split-complementary
#A71B8F #49A71B #1BA779
monochromatic
#3E0A35 #721262 #A71B8F #DC24BC #E458CC

Accessibility & contrast

On white

6.57
#A71B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A71B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B8F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B8F#FFFFFF#000000##FFFFFF
##A71B8F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#B02756
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71b8f;
/* rgb */ color: rgb(167, 27, 143);
/* oklch */ color: oklch(50.6% 0.206 336.7);
Tailwind
colors: {
  custom: {
    50: '#c56bb0',
    500: '#a71b8f',
    950: '#000000',
  },
}
SCSS
$custom: #a71b8f;
$custom-light: #c56bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b8f",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 310.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.20604,
    "h": 336.7
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#A71B8F
secondary
#56C86A
accent
#EF5839
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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