#A71F89#A71F89

#A71F89 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.6% C 0.199 H 339.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A71F89
RGBrgb(167, 31, 137)
HSLhsl(313, 69%, 39%)
HSVhsv(313, 81%, 65%)
CMYKcmyk(0%, 81.4%, 18%, 34.5%)
CIE-LABlab(39.59, 62.40, -26.11)
CIE-LCHlch(39.59, 67.64, 337.29°)
OKLaboklab(50.57% 0.1859 -0.0708)
OKLCHoklch(50.57% 0.199 339.2)
XYZxyz(20.9423, 11.0037, 24.6831)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F89 #1FA73D
analogous
#811FA7 #A71F89 #A71F45
triadic
#A71F89 #89A71F #1F89A7
tetradic
#A71F89 #A7811F #1FA73D #1F45A7
square
#A71F89 #A7811F #1FA73D #1F45A7
split-complementary
#A71F89 #45A71F #1FA781
monochromatic
#400C34 #73155F #A71F89 #D82BB2 #E15FC5

Accessibility & contrast

On white

6.56
#A71F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71F89
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F89#FFFFFF#000000##FFFFFF
##A71F891.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#B12653
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71f89;
/* rgb */ color: rgb(167, 31, 137);
/* oklch */ color: oklch(50.6% 0.199 339.2);
Tailwind
colors: {
  custom: {
    50: '#c56cab',
    500: '#a71f89',
    950: '#000000',
  },
}
SCSS
$custom: #a71f89;
$custom-light: #c56cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f89",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 313.235,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.19892,
    "h": 339.2
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#A71F89
secondary
#5CC673
accent
#EC633C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71F89

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

Preview Lab → · Contrast checker → · Palette generator →

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