#A81D7F#A81D7F

#A81D7F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.1% C 0.195 H 343.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A81D7F
RGBrgb(168, 29, 127)
HSLhsl(318, 71%, 39%)
HSVhsv(318, 83%, 66%)
CMYKcmyk(0%, 82.7%, 24.4%, 34.1%)
CIE-LABlab(39.14, 61.81, -20.62)
CIE-LCHlch(39.14, 65.16, 341.55°)
OKLaboklab(50.13% 0.187 -0.0552)
OKLCHoklch(50.13% 0.195 343.6)
XYZxyz(20.4194, 10.7381, 21.0719)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81D7F #1DA846
analogous
#8B1DA8 #A81D7F #A81D39
triadic
#A81D7F #7FA81D #1D7FA8
tetradic
#A81D7F #A88B1D #1DA846 #1D39A8
square
#A81D7F #A88B1D #1DA846 #1D39A8
split-complementary
#A81D7F #39A81D #1DA88B
monochromatic
#400B30 #741458 #A81D7F #DA28A6 #E35CBB

Accessibility & contrast

On white

6.67
#A81D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A81D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81D7F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81D7F#FFFFFF#000000##FFFFFF
##A81D7F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81d7f;
/* rgb */ color: rgb(168, 29, 127);
/* oklch */ color: oklch(50.1% 0.195 343.6);
Tailwind
colors: {
  custom: {
    50: '#c66ba4',
    500: '#a81d7f',
    950: '#000000',
  },
}
SCSS
$custom: #a81d7f;
$custom-light: #c66ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a81d7f",
  "rgb": {
    "r": 168,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 317.698,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.195,
    "h": 343.6
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#A81D7F
secondary
#5AC77A
accent
#ED6F3A
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#14080F
muted
#827A7F

Preview Lab

Preview with #A81D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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