#A81F84#A81F84

#A81F84 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.5% C 0.196 H 341.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A81F84
RGBrgb(168, 31, 132)
HSLhsl(316, 69%, 39%)
HSVhsv(316, 82%, 66%)
CMYKcmyk(0%, 81.5%, 21.4%, 34.1%)
CIE-LABlab(39.53, 61.95, -23.10)
CIE-LCHlch(39.53, 66.12, 339.55°)
OKLaboklab(50.49% 0.1862 -0.0622)
OKLCHoklch(50.49% 0.196 341.5)
XYZxyz(20.8040, 10.9730, 22.8477)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F84 #1FA843
analogous
#881FA8 #A81F84 #A81F40
triadic
#A81F84 #84A81F #1F84A8
tetradic
#A81F84 #A8881F #1FA843 #1F40A8
square
#A81F84 #A8881F #1FA843 #1F40A8
split-complementary
#A81F84 #40A81F #1FA888
monochromatic
#410C33 #74155B #A81F84 #D82CAB #E260C0

Accessibility & contrast

On white

6.57
#A81F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A81F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F84
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F84#FFFFFF#000000##FFFFFF
##A81F841.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F87
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#B32251
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81f84;
/* rgb */ color: rgb(168, 31, 132);
/* oklch */ color: oklch(50.5% 0.196 341.5);
Tailwind
colors: {
  custom: {
    50: '#c66ca8',
    500: '#a81f84',
    950: '#000000',
  },
}
SCSS
$custom: #a81f84;
$custom-light: #c66ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f84",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 315.766,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.19633,
    "h": 341.5
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#A81F84
secondary
#5DC678
accent
#EC6A3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A81F84

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

Preview Lab → · Contrast checker → · Palette generator →

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