#A81E7B#A81E7B

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

Color values

HEX#A81E7B
RGBrgb(168, 30, 123)
HSLhsl(320, 70%, 39%)
HSVhsv(320, 82%, 66%)
CMYKcmyk(0%, 82.1%, 26.8%, 34.1%)
CIE-LABlab(39.05, 61.06, -18.28)
CIE-LCHlch(39.05, 63.74, 343.34°)
OKLaboklab(50.01% 0.1856 -0.0486)
OKLCHoklch(50.01% 0.192 345.3)
XYZxyz(20.1888, 10.6857, 19.7344)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E7B #1EA84B
analogous
#901EA8 #A81E7B #A81E36
triadic
#A81E7B #7BA81E #1E7BA8
tetradic
#A81E7B #A8901E #1EA84B #1E36A8
square
#A81E7B #A8901E #1EA84B #1E36A8
split-complementary
#A81E7B #36A81E #1EA890
monochromatic
#400B2F #741555 #A81E7B #D92AA0 #E25EB7

Accessibility & contrast

On white

6.70
#A81E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A81E7B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E7B#FFFFFF#000000##FFFFFF
##A81E7B1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81e7b;
/* rgb */ color: rgb(168, 30, 123);
/* oklch */ color: oklch(50.0% 0.192 345.3);
Tailwind
colors: {
  custom: {
    50: '#c66ca1',
    500: '#a81e7b',
    950: '#000000',
  },
}
SCSS
$custom: #a81e7b;
$custom-light: #c66ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e7b",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 319.565,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.19185,
    "h": 345.3
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#A81E7B
secondary
#5BC77E
accent
#ED753B
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080F
muted
#827A7E

Preview Lab

Preview with #A81E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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