#A81F8A#A81F8A

#A81F8A is a mid, highly saturated pink. Relative luminance 0.111; OKLCH L 50.8% C 0.200 H 339.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A81F8A
RGBrgb(168, 31, 138)
HSLhsl(313, 69%, 39%)
HSVhsv(313, 82%, 66%)
CMYKcmyk(0%, 81.5%, 17.9%, 34.1%)
CIE-LABlab(39.82, 62.76, -26.35)
CIE-LCHlch(39.82, 68.06, 337.23°)
OKLaboklab(50.79% 0.1869 -0.0714)
OKLCHoklch(50.79% 0.2 339.1)
XYZxyz(21.2265, 11.1419, 25.0726)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F8A #1FA83D
analogous
#821FA8 #A81F8A #A81F46
triadic
#A81F8A #8AA81F #1F8AA8
tetradic
#A81F8A #A8821F #1FA83D #1F46A8
square
#A81F8A #A8821F #1FA83D #1F46A8
split-complementary
#A81F8A #46A81F #1FA882
monochromatic
#410C35 #741560 #A81F8A #D82CB2 #E260C5

Accessibility & contrast

On white

6.51
#A81F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A81F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F8A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F8A#FFFFFF#000000##FFFFFF
##A81F8A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#B22654
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81f8a;
/* rgb */ color: rgb(168, 31, 138);
/* oklch */ color: oklch(50.8% 0.200 339.1);
Tailwind
colors: {
  custom: {
    50: '#c66cac',
    500: '#a81f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a81f8a;
$custom-light: #c66cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f8a",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 313.139,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.20011,
    "h": 339.1
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#A81F8A
secondary
#5DC674
accent
#EC633C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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