#A81B87#A81B87

#A81B87 is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.4% C 0.201 H 340.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A81B87
RGBrgb(168, 27, 135)
HSLhsl(314, 72%, 38%)
HSVhsv(314, 84%, 66%)
CMYKcmyk(0%, 83.9%, 19.6%, 34.1%)
CIE-LABlab(39.34, 63.31, -25.24)
CIE-LCHlch(39.34, 68.15, 338.26°)
OKLaboklab(50.4% 0.1895 -0.0683)
OKLCHoklch(50.4% 0.201 340.2)
XYZxyz(20.9142, 10.8602, 23.9118)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81B87 #1BA83C
analogous
#831BA8 #A81B87 #A81B40
triadic
#A81B87 #87A81B #1B87A8
tetradic
#A81B87 #A8831B #1BA83C #1B40A8
square
#A81B87 #A8831B #1BA83C #1B40A8
split-complementary
#A81B87 #40A81B #1BA883
monochromatic
#3F0A32 #73135D #A81B87 #DC24B1 #E459C4

Accessibility & contrast

On white

6.62
#A81B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A81B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81B87
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81B87#FFFFFF#000000##FFFFFF
##A81B871.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#B22151
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a81b87;
/* rgb */ color: rgb(168, 27, 135);
/* oklch */ color: oklch(50.4% 0.201 340.2);
Tailwind
colors: {
  custom: {
    50: '#c66baa',
    500: '#a81b87',
    950: '#000000',
  },
}
SCSS
$custom: #a81b87;
$custom-light: #c66baa;
$custom-dark: #000000;
JSON
{
  "hex": "#a81b87",
  "rgb": {
    "r": 168,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 314.043,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.20144,
    "h": 340.2
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#A81B87
secondary
#57C871
accent
#EF6339
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A81B87

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

Preview Lab → · Contrast checker → · Palette generator →

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