#A81F81#A81F81

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

Color values

HEX#A81F81
RGBrgb(168, 31, 129)
HSLhsl(317, 69%, 39%)
HSVhsv(317, 82%, 66%)
CMYKcmyk(0%, 81.5%, 23.2%, 34.1%)
CIE-LABlab(39.40, 61.56, -21.46)
CIE-LCHlch(39.40, 65.20, 340.79°)
OKLaboklab(50.35% 0.1858 -0.0576)
OKLCHoklch(50.35% 0.195 342.8)
XYZxyz(20.6017, 10.8920, 21.7820)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F81 #1FA846
analogous
#8B1FA8 #A81F81 #A81F3D
triadic
#A81F81 #81A81F #1F81A8
tetradic
#A81F81 #A88B1F #1FA846 #1F3DA8
square
#A81F81 #A88B1F #1FA846 #1F3DA8
split-complementary
#A81F81 #3DA81F #1FA88B
monochromatic
#410C32 #741559 #A81F81 #D82CA7 #E260BD

Accessibility & contrast

On white

6.61
#A81F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A81F81
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F81#FFFFFF#000000##FFFFFF
##A81F811.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#5B657E
Tritanopia (blue-blind)
#B3204F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81f81;
/* rgb */ color: rgb(168, 31, 129);
/* oklch */ color: oklch(50.3% 0.195 342.8);
Tailwind
colors: {
  custom: {
    50: '#c66ca5',
    500: '#a81f81',
    950: '#000000',
  },
}
SCSS
$custom: #a81f81;
$custom-light: #c66ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f81",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 317.08,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.1945,
    "h": 342.8
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#A81F81
secondary
#5DC67B
accent
#EC6E3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A81F81

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

Preview Lab → · Contrast checker → · Palette generator →

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