#A81E8B#A81E8B

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

Color values

HEX#A81E8B
RGBrgb(168, 30, 139)
HSLhsl(313, 70%, 39%)
HSVhsv(313, 82%, 66%)
CMYKcmyk(0%, 82.1%, 17.3%, 34.1%)
CIE-LABlab(39.78, 63.14, -27.02)
CIE-LCHlch(39.78, 68.68, 336.83°)
OKLaboklab(50.78% 0.1878 -0.0733)
OKLCHoklch(50.78% 0.202 338.7)
XYZxyz(21.2735, 11.1196, 25.4470)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E8B #1EA83B
analogous
#801EA8 #A81E8B #A81E46
triadic
#A81E8B #8BA81E #1E8BA8
tetradic
#A81E8B #A8801E #1EA83B #1E46A8
square
#A81E8B #A8801E #1EA83B #1E46A8
split-complementary
#A81E8B #46A81E #1EA880
monochromatic
#400B35 #741560 #A81E8B #D92AB4 #E25EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A81E8B#FFFFFF#000000##FFFFFF
##A81E8B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#B22654
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81e8b;
/* rgb */ color: rgb(168, 30, 139);
/* oklch */ color: oklch(50.8% 0.202 338.7);
Tailwind
colors: {
  custom: {
    50: '#c66cad',
    500: '#a81e8b',
    950: '#000000',
  },
}
SCSS
$custom: #a81e8b;
$custom-light: #c66cad;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e8b",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 312.609,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.20159,
    "h": 338.7
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#A81E8B
secondary
#5BC772
accent
#ED613B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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