#A81E7A#A81E7A

#A81E7A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 345.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A81E7A
RGBrgb(168, 30, 122)
HSLhsl(320, 70%, 39%)
HSVhsv(320, 82%, 66%)
CMYKcmyk(0%, 82.1%, 27.4%, 34.1%)
CIE-LABlab(39.00, 60.94, -17.72)
CIE-LCHlch(39.00, 63.46, 343.79°)
OKLaboklab(49.96% 0.1854 -0.0471)
OKLCHoklch(49.96% 0.191 345.8)
XYZxyz(20.1265, 10.6608, 19.4064)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E7A #1EA84C
analogous
#911EA8 #A81E7A #A81E35
triadic
#A81E7A #7AA81E #1E7AA8
tetradic
#A81E7A #A8911E #1EA84C #1E35A8
square
#A81E7A #A8911E #1EA84C #1E35A8
split-complementary
#A81E7A #35A81E #1EA891
monochromatic
#400B2F #741554 #A81E7A #D92A9F #E25EB6

Accessibility & contrast

On white

6.71
#A81E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A81E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81E7A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E7A#FFFFFF#000000##FFFFFF
##A81E7A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B41A4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81e7a;
/* rgb */ color: rgb(168, 30, 122);
/* oklch */ color: oklch(50.0% 0.191 345.8);
Tailwind
colors: {
  custom: {
    50: '#c66ca0',
    500: '#a81e7a',
    950: '#000000',
  },
}
SCSS
$custom: #a81e7a;
$custom-light: #c66ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e7a",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 320,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.19127,
    "h": 345.8
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#A81E7A
secondary
#5BC77F
accent
#ED763B
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080E
muted
#827A7E

Preview Lab

Preview with #A81E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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