#A81D7E#A81D7E

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

Color values

HEX#A81D7E
RGBrgb(168, 29, 126)
HSLhsl(318, 71%, 39%)
HSVhsv(318, 83%, 66%)
CMYKcmyk(0%, 82.7%, 25%, 34.1%)
CIE-LABlab(39.09, 61.68, -20.07)
CIE-LCHlch(39.09, 64.86, 341.97°)
OKLaboklab(50.08% 0.1869 -0.0537)
OKLCHoklch(50.08% 0.194 344)
XYZxyz(20.3546, 10.7122, 20.7304)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81D7E #1DA847
analogous
#8C1DA8 #A81D7E #A81D39
triadic
#A81D7E #7EA81D #1D7EA8
tetradic
#A81D7E #A88C1D #1DA847 #1D39A8
square
#A81D7E #A88C1D #1DA847 #1D39A8
split-complementary
#A81D7E #39A81D #1DA88C
monochromatic
#400B30 #741457 #A81D7E #DA28A4 #E35CBA

Accessibility & contrast

On white

6.68
#A81D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A81D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81D7E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81D7E#FFFFFF#000000##FFFFFF
##A81D7E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E80
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#B31C4D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a81d7e;
/* rgb */ color: rgb(168, 29, 126);
/* oklch */ color: oklch(50.1% 0.194 344.0);
Tailwind
colors: {
  custom: {
    50: '#c66ba3',
    500: '#a81d7e',
    950: '#000000',
  },
}
SCSS
$custom: #a81d7e;
$custom-light: #c66ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a81d7e",
  "rgb": {
    "r": 168,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 318.129,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.19441,
    "h": 344
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#A81D7E
secondary
#5AC77B
accent
#ED713A
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#14080F
muted
#827A7F

Preview Lab

Preview with #A81D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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