#A81C8F#A81C8F

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

Color values

HEX#A81C8F
RGBrgb(168, 28, 143)
HSLhsl(311, 71%, 38%)
HSVhsv(311, 83%, 66%)
CMYKcmyk(0%, 83.3%, 14.9%, 34.1%)
CIE-LABlab(39.82, 64.17, -29.41)
CIE-LCHlch(39.82, 70.59, 335.37°)
OKLaboklab(50.87% 0.1895 -0.0802)
OKLCHoklch(50.87% 0.206 337.1)
XYZxyz(21.5221, 11.1406, 26.9982)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81C8F #1CA835
analogous
#7B1CA8 #A81C8F #A81C49
triadic
#A81C8F #8FA81C #1C8FA8
tetradic
#A81C8F #A87B1C #1CA835 #1C49A8
square
#A81C8F #A87B1C #1CA835 #1C49A8
split-complementary
#A81C8F #49A81C #1CA87B
monochromatic
#3F0B36 #741362 #A81C8F #DB26BB #E45BCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A81C8F#FFFFFF#000000##FFFFFF
##A81C8F1.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)
#215092
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#B12756
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81c8f;
/* rgb */ color: rgb(168, 28, 143);
/* oklch */ color: oklch(50.9% 0.206 337.1);
Tailwind
colors: {
  custom: {
    50: '#c66cb0',
    500: '#a81c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a81c8f;
$custom-light: #c66cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a81c8f",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 310.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.2058,
    "h": 337.1
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#A81C8F
secondary
#58C76C
accent
#EE5A3A
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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