#A81E7C#A81E7C

#A81E7C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.1% C 0.192 H 344.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A81E7C
RGBrgb(168, 30, 124)
HSLhsl(319, 70%, 39%)
HSVhsv(319, 82%, 66%)
CMYKcmyk(0%, 82.1%, 26.2%, 34.1%)
CIE-LABlab(39.09, 61.18, -18.83)
CIE-LCHlch(39.09, 64.02, 342.89°)
OKLaboklab(50.05% 0.1858 -0.0502)
OKLCHoklch(50.05% 0.192 344.9)
XYZxyz(20.2517, 10.7109, 20.0658)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E7C #1EA84A
analogous
#8F1EA8 #A81E7C #A81E37
triadic
#A81E7C #7CA81E #1E7CA8
tetradic
#A81E7C #A88F1E #1EA84A #1E37A8
square
#A81E7C #A88F1E #1EA84A #1E37A8
split-complementary
#A81E7C #37A81E #1EA88F
monochromatic
#400B2F #741556 #A81E7C #D92AA1 #E25EB8

Accessibility & contrast

On white

6.68
#A81E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A81E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81E7C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E7C#FFFFFF#000000##FFFFFF
##A81E7C1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#B41B4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81e7c;
/* rgb */ color: rgb(168, 30, 124);
/* oklch */ color: oklch(50.1% 0.192 344.9);
Tailwind
colors: {
  custom: {
    50: '#c66ca2',
    500: '#a81e7c',
    950: '#000000',
  },
}
SCSS
$custom: #a81e7c;
$custom-light: #c66ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e7c",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 319.13,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.19242,
    "h": 344.9
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#A81E7C
secondary
#5BC77D
accent
#ED743B
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080F
muted
#827A7E

Preview Lab

Preview with #A81E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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