#A72D87#A72D87

#A72D87 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.183 H 340.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A72D87
RGBrgb(167, 45, 135)
HSLhsl(316, 58%, 42%)
HSVhsv(316, 73%, 65%)
CMYKcmyk(0%, 73.1%, 19.2%, 34.5%)
CIE-LABlab(40.97, 57.91, -22.74)
CIE-LCHlch(40.97, 62.22, 338.57°)
OKLaboklab(51.54% 0.1729 -0.0613)
OKLCHoklch(51.54% 0.183 340.5)
XYZxyz(21.2485, 11.8436, 24.0840)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72D87 #2DA74D
analogous
#8A2DA7 #A72D87 #A72D4A
triadic
#A72D87 #87A72D #2D87A7
tetradic
#A72D87 #A78A2D #2DA74D #2D4AA7
square
#A72D87 #A78A2D #2DA74D #2D4AA7
split-complementary
#A72D87 #4AA72D #2DA78A
monochromatic
#471339 #772060 #A72D87 #CD44A9 #DA75BF

Accessibility & contrast

On white

6.23
#A72D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A72D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72D87
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72D87#FFFFFF#000000##FFFFFF
##A72D871.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#5D6884
Tritanopia (blue-blind)
#B13056
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72d87;
/* rgb */ color: rgb(167, 45, 135);
/* oklch */ color: oklch(51.5% 0.183 340.5);
Tailwind
colors: {
  custom: {
    50: '#c572aa',
    500: '#a72d87',
    950: '#000000',
  },
}
SCSS
$custom: #a72d87;
$custom-light: #c572aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a72d87",
  "rgb": {
    "r": 167,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 315.738,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.18343,
    "h": 340.5
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#A72D87
secondary
#6EC184
accent
#E16F47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A72D87

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

Preview Lab → · Contrast checker → · Palette generator →

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