#A81B8A#A81B8A

#A81B8A is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.5% C 0.203 H 339.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A81B8A
RGBrgb(168, 27, 138)
HSLhsl(313, 72%, 38%)
HSVhsv(313, 84%, 66%)
CMYKcmyk(0%, 83.9%, 17.9%, 34.1%)
CIE-LABlab(39.49, 63.71, -26.86)
CIE-LCHlch(39.49, 69.14, 337.14°)
OKLaboklab(50.55% 0.1898 -0.0729)
OKLCHoklch(50.55% 0.203 339)
XYZxyz(21.1284, 10.9458, 25.0399)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81B8A #1BA839
analogous
#7F1BA8 #A81B8A #A81B43
triadic
#A81B8A #8AA81B #1B8AA8
tetradic
#A81B8A #A87F1B #1BA839 #1B43A8
square
#A81B8A #A87F1B #1BA839 #1B43A8
split-complementary
#A81B8A #43A81B #1BA87F
monochromatic
#3F0A33 #73135F #A81B8A #DC24B5 #E459C7

Accessibility & contrast

On white

6.59
#A81B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A81B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81B8A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81B8A#FFFFFF#000000##FFFFFF
##A81B8A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#B22353
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81b8a;
/* rgb */ color: rgb(168, 27, 138);
/* oklch */ color: oklch(50.5% 0.203 339.0);
Tailwind
colors: {
  custom: {
    50: '#c66bac',
    500: '#a81b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a81b8a;
$custom-light: #c66bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a81b8a",
  "rgb": {
    "r": 168,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 312.766,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.20333,
    "h": 339
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#A81B8A
secondary
#57C86F
accent
#EF6039
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A81B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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