#A81F87#A81F87

#A81F87 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.198 H 340.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A81F87
RGBrgb(168, 31, 135)
HSLhsl(314, 69%, 39%)
HSVhsv(314, 82%, 66%)
CMYKcmyk(0%, 81.5%, 19.6%, 34.1%)
CIE-LABlab(39.68, 62.35, -24.73)
CIE-LCHlch(39.68, 67.08, 338.37°)
OKLaboklab(50.64% 0.1866 -0.0668)
OKLCHoklch(50.64% 0.198 340.3)
XYZxyz(21.0123, 11.0563, 23.9445)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F87 #1FA840
analogous
#851FA8 #A81F87 #A81F42
triadic
#A81F87 #87A81F #1F87A8
tetradic
#A81F87 #A8851F #1FA840 #1F42A8
square
#A81F87 #A8851F #1FA840 #1F42A8
split-complementary
#A81F87 #42A81F #1FA885
monochromatic
#410C34 #74155D #A81F87 #D82CAF #E260C2

Accessibility & contrast

On white

6.54
#A81F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A81F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F87
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F87#FFFFFF#000000##FFFFFF
##A81F871.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#B22452
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81f87;
/* rgb */ color: rgb(168, 31, 135);
/* oklch */ color: oklch(50.6% 0.198 340.3);
Tailwind
colors: {
  custom: {
    50: '#c66caa',
    500: '#a81f87',
    950: '#000000',
  },
}
SCSS
$custom: #a81f87;
$custom-light: #c66caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f87",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 314.453,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.1982,
    "h": 340.3
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#A81F87
secondary
#5DC676
accent
#EC663C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81F87

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

Preview Lab → · Contrast checker → · Palette generator →

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