#A81C8D#A81C8D

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

Color values

HEX#A81C8D
RGBrgb(168, 28, 141)
HSLhsl(312, 71%, 38%)
HSVhsv(312, 83%, 66%)
CMYKcmyk(0%, 83.3%, 16.1%, 34.1%)
CIE-LABlab(39.72, 63.89, -28.35)
CIE-LCHlch(39.72, 69.90, 336.07°)
OKLaboklab(50.76% 0.1894 -0.0771)
OKLCHoklch(50.76% 0.204 337.8)
XYZxyz(21.3719, 11.0806, 26.2074)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81C8D #1CA837
analogous
#7D1CA8 #A81C8D #A81C47
triadic
#A81C8D #8DA81C #1C8DA8
tetradic
#A81C8D #A87D1C #1CA837 #1C47A8
square
#A81C8D #A87D1C #1CA837 #1C47A8
split-complementary
#A81C8D #47A81C #1CA87D
monochromatic
#3F0B35 #741361 #A81C8D #DB26B8 #E45BC9

Accessibility & contrast

On white

6.53
#A81C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A81C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81C8D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81C8D#FFFFFF#000000##FFFFFF
##A81C8D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#B22655
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81c8d;
/* rgb */ color: rgb(168, 28, 141);
/* oklch */ color: oklch(50.8% 0.204 337.8);
Tailwind
colors: {
  custom: {
    50: '#c66cae',
    500: '#a81c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a81c8d;
$custom-light: #c66cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a81c8d",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 311.571,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.20449,
    "h": 337.8
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#A81C8D
secondary
#58C76E
accent
#EE5C3A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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