#A81F6C#A81F6C

#A81F6C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.183 H 352.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A81F6C
RGBrgb(168, 31, 108)
HSLhsl(326, 69%, 39%)
HSVhsv(326, 82%, 66%)
CMYKcmyk(0%, 81.5%, 35.7%, 34.1%)
CIE-LABlab(38.53, 59.06, -9.66)
CIE-LCHlch(38.53, 59.85, 350.71°)
OKLaboklab(49.44% 0.1814 -0.0249)
OKLCHoklch(49.44% 0.183 352.2)
XYZxyz(19.3464, 10.3899, 15.1711)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F6C #1FA85B
analogous
#A01FA8 #A81F6C #A81F28
triadic
#A81F6C #6CA81F #1F6CA8
tetradic
#A81F6C #A8A01F #1FA85B #1F28A8
square
#A81F6C #A8A01F #1FA85B #1F28A8
split-complementary
#A81F6C #28A81F #1FA8A0
monochromatic
#410C2A #74154B #A81F6C #D82C8D #E260A9

Accessibility & contrast

On white

6.82
#A81F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A81F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81F6C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F6C#FFFFFF#000000##FFFFFF
##A81F6C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#626369
Tritanopia (blue-blind)
#B50D43
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a81f6c;
/* rgb */ color: rgb(168, 31, 108);
/* oklch */ color: oklch(49.4% 0.183 352.2);
Tailwind
colors: {
  custom: {
    50: '#c76b96',
    500: '#a81f6c',
    950: '#000000',
  },
}
SCSS
$custom: #a81f6c;
$custom-light: #c76b96;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f6c",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 326.277,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.18314,
    "h": 352.2
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#A81F6C
secondary
#5DC68B
accent
#EC893C
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A81F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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