#A81F71#A81F71

#A81F71 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.186 H 349.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A81F71
RGBrgb(168, 31, 113)
HSLhsl(324, 69%, 39%)
HSVhsv(324, 82%, 66%)
CMYKcmyk(0%, 81.5%, 32.7%, 34.1%)
CIE-LABlab(38.72, 59.62, -12.52)
CIE-LCHlch(38.72, 60.92, 348.14°)
OKLaboklab(49.64% 0.1827 -0.0327)
OKLCHoklch(49.64% 0.186 349.9)
XYZxyz(19.6202, 10.4994, 16.6130)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F71 #1FA856
analogous
#9B1FA8 #A81F71 #A81F2C
triadic
#A81F71 #71A81F #1F71A8
tetradic
#A81F71 #A89B1F #1FA856 #1F2CA8
square
#A81F71 #A89B1F #1FA856 #1F2CA8
split-complementary
#A81F71 #2CA81F #1FA89B
monochromatic
#410C2B #74154E #A81F71 #D82C93 #E260AD

Accessibility & contrast

On white

6.78
#A81F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A81F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F71
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F71#FFFFFF#000000##FFFFFF
##A81F711.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#60646E
Tritanopia (blue-blind)
#B51346
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a81f71;
/* rgb */ color: rgb(168, 31, 113);
/* oklch */ color: oklch(49.6% 0.186 349.9);
Tailwind
colors: {
  custom: {
    50: '#c76c99',
    500: '#a81f71',
    950: '#000000',
  },
}
SCSS
$custom: #a81f71;
$custom-light: #c76c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f71",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 324.088,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.18559,
    "h": 349.9
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#A81F71
secondary
#5DC687
accent
#EC833C
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080E
muted
#827A7E

Preview Lab

Preview with #A81F71

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

Preview Lab → · Contrast checker → · Palette generator →

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