#A81F8F#A81F8F

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

Color values

HEX#A81F8F
RGBrgb(168, 31, 143)
HSLhsl(311, 69%, 39%)
HSVhsv(311, 82%, 66%)
CMYKcmyk(0%, 81.5%, 14.9%, 34.1%)
CIE-LABlab(40.06, 63.45, -29.02)
CIE-LCHlch(40.06, 69.77, 335.42°)
OKLaboklab(51.04% 0.1874 -0.0791)
OKLCHoklch(51.04% 0.203 337.1)
XYZxyz(21.5968, 11.2901, 27.0231)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F8F #1FA838
analogous
#7D1FA8 #A81F8F #A81F4B
triadic
#A81F8F #8FA81F #1F8FA8
tetradic
#A81F8F #A87D1F #1FA838 #1F4BA8
square
#A81F8F #A87D1F #1FA838 #1F4BA8
split-complementary
#A81F8F #4BA81F #1FA87D
monochromatic
#410C37 #741563 #A81F8F #D82CB9 #E260CA

Accessibility & contrast

On white

6.45
#A81F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A81F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F8F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F8F#FFFFFF#000000##FFFFFF
##A81F8F1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#B12957
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a81f8f;
/* rgb */ color: rgb(168, 31, 143);
/* oklch */ color: oklch(51.0% 0.203 337.1);
Tailwind
colors: {
  custom: {
    50: '#c66db0',
    500: '#a81f8f',
    950: '#000000',
  },
}
SCSS
$custom: #a81f8f;
$custom-light: #c66db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f8f",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 310.949,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.20338,
    "h": 337.1
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#A81F8F
secondary
#5DC670
accent
#EC5C3C
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140810
muted
#827B7F

Preview Lab

Preview with #A81F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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