#A81D7C#A81D7C

#A81D7C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.193 H 344.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A81D7C
RGBrgb(168, 29, 124)
HSLhsl(319, 71%, 39%)
HSVhsv(319, 83%, 66%)
CMYKcmyk(0%, 82.7%, 26.2%, 34.1%)
CIE-LABlab(39.00, 61.43, -18.96)
CIE-LCHlch(39.00, 64.29, 342.84°)
OKLaboklab(49.99% 0.1865 -0.0505)
OKLCHoklch(49.99% 0.193 344.8)
XYZxyz(20.2268, 10.6611, 20.0575)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81D7C #1DA849
analogous
#8E1DA8 #A81D7C #A81D36
triadic
#A81D7C #7CA81D #1D7CA8
tetradic
#A81D7C #A88E1D #1DA849 #1D36A8
square
#A81D7C #A88E1D #1DA849 #1D36A8
split-complementary
#A81D7C #36A81D #1DA88E
monochromatic
#400B2F #741455 #A81D7C #DA28A2 #E35CB8

Accessibility & contrast

On white

6.71
#A81D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A81D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81D7C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81D7C#FFFFFF#000000##FFFFFF
##A81D7C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#B41A4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81d7c;
/* rgb */ color: rgb(168, 29, 124);
/* oklch */ color: oklch(50.0% 0.193 344.8);
Tailwind
colors: {
  custom: {
    50: '#c66ba2',
    500: '#a81d7c',
    950: '#000000',
  },
}
SCSS
$custom: #a81d7c;
$custom-light: #c66ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a81d7c",
  "rgb": {
    "r": 168,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 318.993,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.19325,
    "h": 344.8
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#A81D7C
secondary
#5AC77C
accent
#ED733A
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080F
muted
#827A7E

Preview Lab

Preview with #A81D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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