#A72787#A72787

#A72787 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.190 H 340.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A72787
RGBrgb(167, 39, 135)
HSLhsl(315, 62%, 40%)
HSVhsv(315, 77%, 65%)
CMYKcmyk(0%, 76.6%, 19.2%, 34.5%)
CIE-LABlab(40.28, 59.88, -23.81)
CIE-LCHlch(40.28, 64.44, 338.32°)
OKLaboklab(51.04% 0.1789 -0.0643)
OKLCHoklch(51.04% 0.19 340.2)
XYZxyz(21.0357, 11.4179, 24.0130)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72787 #27A747
analogous
#8727A7 #A72787 #A72747
triadic
#A72787 #87A727 #2787A7
tetradic
#A72787 #A78727 #27A747 #2747A7
square
#A72787 #A78727 #27A747 #2747A7
split-complementary
#A72787 #47A727 #27A787
monochromatic
#441037 #751B5F #A72787 #D13AAB #DD6CC0

Accessibility & contrast

On white

6.40
#A72787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A72787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72787
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72787#FFFFFF#000000##FFFFFF
##A727871.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#5B6684
Tritanopia (blue-blind)
#B12B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a72787;
/* rgb */ color: rgb(167, 39, 135);
/* oklch */ color: oklch(51.0% 0.190 340.2);
Tailwind
colors: {
  custom: {
    50: '#c56faa',
    500: '#a72787',
    950: '#000000',
  },
}
SCSS
$custom: #a72787;
$custom-light: #c56faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a72787",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 315,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.19005,
    "h": 340.2
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#A72787
secondary
#67C37E
accent
#E56B43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A72787

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

Preview Lab → · Contrast checker → · Palette generator →

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