#A81C84#A81C84

#A81C84 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.3% C 0.199 H 341.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A81C84
RGBrgb(168, 28, 132)
HSLhsl(315, 71%, 38%)
HSVhsv(315, 83%, 66%)
CMYKcmyk(0%, 83.3%, 21.4%, 34.1%)
CIE-LABlab(39.28, 62.68, -23.49)
CIE-LCHlch(39.28, 66.94, 339.46°)
OKLaboklab(50.31% 0.1885 -0.0633)
OKLCHoklch(50.31% 0.199 341.4)
XYZxyz(20.7293, 10.8235, 22.8228)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81C84 #1CA840
analogous
#861CA8 #A81C84 #A81C3E
triadic
#A81C84 #84A81C #1C84A8
tetradic
#A81C84 #A8861C #1CA840 #1C3EA8
square
#A81C84 #A8861C #1CA840 #1C3EA8
split-complementary
#A81C84 #3EA81C #1CA886
monochromatic
#3F0B32 #74135B #A81C84 #DB26AC #E45BC0

Accessibility & contrast

On white

6.64
#A81C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A81C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81C84
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81C84#FFFFFF#000000##FFFFFF
##A81C841.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E87
Deuteranopia (green-blind)
#5A6481
Tritanopia (blue-blind)
#B32050
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81c84;
/* rgb */ color: rgb(168, 28, 132);
/* oklch */ color: oklch(50.3% 0.199 341.4);
Tailwind
colors: {
  custom: {
    50: '#c66ba8',
    500: '#a81c84',
    950: '#000000',
  },
}
SCSS
$custom: #a81c84;
$custom-light: #c66ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#a81c84",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 315.429,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.19881,
    "h": 341.4
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#A81C84
secondary
#58C775
accent
#EE683A
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#14080F
muted
#827A7F

Preview Lab

Preview with #A81C84

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

Preview Lab → · Contrast checker → · Palette generator →

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