#A81C8B#A81C8B

#A81C8B is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.7% C 0.203 H 338.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A81C8B
RGBrgb(168, 28, 139)
HSLhsl(312, 71%, 38%)
HSVhsv(312, 83%, 66%)
CMYKcmyk(0%, 83.3%, 17.3%, 34.1%)
CIE-LABlab(39.62, 63.62, -27.28)
CIE-LCHlch(39.62, 69.22, 336.79°)
OKLaboklab(50.66% 0.1892 -0.0741)
OKLCHoklch(50.66% 0.203 338.6)
XYZxyz(21.2245, 11.0216, 25.4307)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81C8B #1CA839
analogous
#7F1CA8 #A81C8B #A81C45
triadic
#A81C8B #8BA81C #1C8BA8
tetradic
#A81C8B #A87F1C #1CA839 #1C45A8
square
#A81C8B #A87F1C #1CA839 #1C45A8
split-complementary
#A81C8B #45A81C #1CA87F
monochromatic
#3F0B34 #741360 #A81C8B #DB26B5 #E45BC7

Accessibility & contrast

On white

6.55
#A81C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A81C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81C8B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81C8B#FFFFFF#000000##FFFFFF
##A81C8B1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#B22554
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81c8b;
/* rgb */ color: rgb(168, 28, 139);
/* oklch */ color: oklch(50.7% 0.203 338.6);
Tailwind
colors: {
  custom: {
    50: '#c66cad',
    500: '#a81c8b',
    950: '#000000',
  },
}
SCSS
$custom: #a81c8b;
$custom-light: #c66cad;
$custom-dark: #000000;
JSON
{
  "hex": "#a81c8b",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 312.429,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.2032,
    "h": 338.6
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#A81C8B
secondary
#58C76F
accent
#EE5F3A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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