#A72781#A72781

#A72781 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 342.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A72781
RGBrgb(167, 39, 129)
HSLhsl(318, 62%, 40%)
HSVhsv(318, 77%, 65%)
CMYKcmyk(0%, 76.6%, 22.8%, 34.5%)
CIE-LABlab(40.00, 59.06, -20.53)
CIE-LCHlch(40.00, 62.53, 340.83°)
OKLaboklab(50.75% 0.1779 -0.055)
OKLCHoklch(50.75% 0.186 342.8)
XYZxyz(20.6251, 11.2537, 21.8506)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72781 #27A74D
analogous
#8D27A7 #A72781 #A72741
triadic
#A72781 #81A727 #2781A7
tetradic
#A72781 #A78D27 #27A74D #2741A7
square
#A72781 #A78D27 #27A74D #2741A7
split-complementary
#A72781 #41A727 #27A78D
monochromatic
#441034 #751B5B #A72781 #D13AA4 #DD6CBB

Accessibility & contrast

On white

6.46
#A72781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A72781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72781
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72781#FFFFFF#000000##FFFFFF
##A727811.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#5D667E
Tritanopia (blue-blind)
#B22851
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a72781;
/* rgb */ color: rgb(167, 39, 129);
/* oklch */ color: oklch(50.8% 0.186 342.8);
Tailwind
colors: {
  custom: {
    50: '#c56fa5',
    500: '#a72781',
    950: '#000000',
  },
}
SCSS
$custom: #a72781;
$custom-light: #c56fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a72781",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 317.813,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.18625,
    "h": 342.8
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#A72781
secondary
#67C382
accent
#E57343
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A72781

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

Preview Lab → · Contrast checker → · Palette generator →

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