#A81F82#A81F82

#A81F82 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.4% C 0.195 H 342.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A81F82
RGBrgb(168, 31, 130)
HSLhsl(317, 69%, 39%)
HSVhsv(317, 82%, 66%)
CMYKcmyk(0%, 81.5%, 22.6%, 34.1%)
CIE-LABlab(39.44, 61.69, -22.00)
CIE-LCHlch(39.44, 65.50, 340.37°)
OKLaboklab(50.39% 0.1859 -0.0591)
OKLCHoklch(50.39% 0.195 342.4)
XYZxyz(20.6685, 10.9187, 22.1338)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F82 #1FA845
analogous
#8A1FA8 #A81F82 #A81F3E
triadic
#A81F82 #82A81F #1F82A8
tetradic
#A81F82 #A88A1F #1FA845 #1F3EA8
square
#A81F82 #A88A1F #1FA845 #1F3EA8
split-complementary
#A81F82 #3EA81F #1FA88A
monochromatic
#410C32 #74155A #A81F82 #D82CA8 #E260BE

Accessibility & contrast

On white

6.60
#A81F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A81F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F82
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F82#FFFFFF#000000##FFFFFF
##A81F821.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F85
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#B3214F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81f82;
/* rgb */ color: rgb(168, 31, 130);
/* oklch */ color: oklch(50.4% 0.195 342.4);
Tailwind
colors: {
  custom: {
    50: '#c66ca6',
    500: '#a81f82',
    950: '#000000',
  },
}
SCSS
$custom: #a81f82;
$custom-light: #c66ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f82",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 316.642,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.19511,
    "h": 342.4
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#A81F82
secondary
#5DC67A
accent
#EC6D3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A81F82

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

Preview Lab → · Contrast checker → · Palette generator →

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