#A81F8E#A81F8E

#A81F8E is a mid, highly saturated pink. Relative luminance 0.113; OKLCH L 51.0% C 0.203 H 337.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A81F8E
RGBrgb(168, 31, 142)
HSLhsl(311, 69%, 39%)
HSVhsv(311, 82%, 66%)
CMYKcmyk(0%, 81.5%, 15.5%, 34.1%)
CIE-LABlab(40.01, 63.31, -28.49)
CIE-LCHlch(40.01, 69.42, 335.77°)
OKLaboklab(50.99% 0.1873 -0.0775)
OKLCHoklch(50.99% 0.203 337.5)
XYZxyz(21.5214, 11.2599, 26.6259)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F8E #1FA839
analogous
#7E1FA8 #A81F8E #A81F4A
triadic
#A81F8E #8EA81F #1F8EA8
tetradic
#A81F8E #A87E1F #1FA839 #1F4AA8
square
#A81F8E #A87E1F #1FA839 #1F4AA8
split-complementary
#A81F8E #4AA81F #1FA87E
monochromatic
#410C37 #741562 #A81F8E #D82CB7 #E260C9

Accessibility & contrast

On white

6.46
#A81F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A81F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F8E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F8E#FFFFFF#000000##FFFFFF
##A81F8E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#56668B
Tritanopia (blue-blind)
#B12956
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81f8e;
/* rgb */ color: rgb(168, 31, 142);
/* oklch */ color: oklch(51.0% 0.203 337.5);
Tailwind
colors: {
  custom: {
    50: '#c66daf',
    500: '#a81f8e',
    950: '#000000',
  },
}
SCSS
$custom: #a81f8e;
$custom-light: #c66daf;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f8e",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 311.387,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.20272,
    "h": 337.5
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#A81F8E
secondary
#5DC671
accent
#EC5D3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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