#A81C82#A81C82

#A81C82 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 342.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A81C82
RGBrgb(168, 28, 130)
HSLhsl(316, 71%, 38%)
HSVhsv(316, 83%, 66%)
CMYKcmyk(0%, 83.3%, 22.6%, 34.1%)
CIE-LABlab(39.19, 62.43, -22.40)
CIE-LCHlch(39.19, 66.32, 340.26°)
OKLaboklab(50.21% 0.1882 -0.0602)
OKLCHoklch(50.21% 0.198 342.3)
XYZxyz(20.5938, 10.7693, 22.1089)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81C82 #1CA842
analogous
#881CA8 #A81C82 #A81C3C
triadic
#A81C82 #82A81C #1C82A8
tetradic
#A81C82 #A8881C #1CA842 #1C3CA8
square
#A81C82 #A8881C #1CA842 #1C3CA8
split-complementary
#A81C82 #3CA81C #1CA888
monochromatic
#3F0B31 #741359 #A81C82 #DB26AA #E45BBE

Accessibility & contrast

On white

6.66
#A81C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A81C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81C82
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81C82#FFFFFF#000000##FFFFFF
##A81C821.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#B31E4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81c82;
/* rgb */ color: rgb(168, 28, 130);
/* oklch */ color: oklch(50.2% 0.198 342.3);
Tailwind
colors: {
  custom: {
    50: '#c66ba6',
    500: '#a81c82',
    950: '#000000',
  },
}
SCSS
$custom: #a81c82;
$custom-light: #c66ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#a81c82",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 316.286,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.1976,
    "h": 342.3
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#A81C82
secondary
#58C777
accent
#EE6B3A
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#14080F
muted
#827A7F

Preview Lab

Preview with #A81C82

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

Preview Lab → · Contrast checker → · Palette generator →

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