#A81C8E#A81C8E

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

Color values

HEX#A81C8E
RGBrgb(168, 28, 142)
HSLhsl(311, 71%, 38%)
HSVhsv(311, 83%, 66%)
CMYKcmyk(0%, 83.3%, 15.5%, 34.1%)
CIE-LABlab(39.77, 64.03, -28.88)
CIE-LCHlch(39.77, 70.24, 335.72°)
OKLaboklab(50.81% 0.1895 -0.0786)
OKLCHoklch(50.81% 0.205 337.5)
XYZxyz(21.4467, 11.1105, 26.6010)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81C8E #1CA836
analogous
#7C1CA8 #A81C8E #A81C48
triadic
#A81C8E #8EA81C #1C8EA8
tetradic
#A81C8E #A87C1C #1CA836 #1C48A8
square
#A81C8E #A87C1C #1CA836 #1C48A8
split-complementary
#A81C8E #48A81C #1CA87C
monochromatic
#3F0B35 #741362 #A81C8E #DB26B9 #E45BCA

Accessibility & contrast

On white

6.52
#A81C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A81C8E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81C8E#FFFFFF#000000##FFFFFF
##A81C8E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#B12756
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81c8e;
/* rgb */ color: rgb(168, 28, 142);
/* oklch */ color: oklch(50.8% 0.205 337.5);
Tailwind
colors: {
  custom: {
    50: '#c66caf',
    500: '#a81c8e',
    950: '#000000',
  },
}
SCSS
$custom: #a81c8e;
$custom-light: #c66caf;
$custom-dark: #000000;
JSON
{
  "hex": "#a81c8e",
  "rgb": {
    "r": 168,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 311.143,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.20515,
    "h": 337.5
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#A81C8E
secondary
#58C76D
accent
#EE5B3A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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