#A81E7F#A81E7F

#A81E7F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.194 H 343.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A81E7F
RGBrgb(168, 30, 127)
HSLhsl(318, 70%, 39%)
HSVhsv(318, 82%, 66%)
CMYKcmyk(0%, 82.1%, 24.4%, 34.1%)
CIE-LABlab(39.22, 61.56, -20.49)
CIE-LCHlch(39.22, 64.88, 341.59°)
OKLaboklab(50.19% 0.1863 -0.0548)
OKLCHoklch(50.19% 0.194 343.6)
XYZxyz(20.4443, 10.7879, 21.0802)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E7F #1EA847
analogous
#8C1EA8 #A81E7F #A81E3A
triadic
#A81E7F #7FA81E #1E7FA8
tetradic
#A81E7F #A88C1E #1EA847 #1E3AA8
square
#A81E7F #A88C1E #1EA847 #1E3AA8
split-complementary
#A81E7F #3AA81E #1EA88C
monochromatic
#400B30 #741558 #A81E7F #D92AA5 #E25EBB

Accessibility & contrast

On white

6.65
#A81E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A81E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81E7F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E7F#FFFFFF#000000##FFFFFF
##A81E7F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#B31E4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81e7f;
/* rgb */ color: rgb(168, 30, 127);
/* oklch */ color: oklch(50.2% 0.194 343.6);
Tailwind
colors: {
  custom: {
    50: '#c66ca4',
    500: '#a81e7f',
    950: '#000000',
  },
}
SCSS
$custom: #a81e7f;
$custom-light: #c66ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e7f",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 317.826,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.19417,
    "h": 343.6
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#A81E7F
secondary
#5BC77B
accent
#ED703B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A81E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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