#A72887#A72887

#A72887 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.189 H 340.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A72887
RGBrgb(167, 40, 135)
HSLhsl(315, 61%, 41%)
HSVhsv(315, 76%, 65%)
CMYKcmyk(0%, 76%, 19.2%, 34.5%)
CIE-LABlab(40.38, 59.56, -23.64)
CIE-LCHlch(40.38, 64.08, 338.35°)
OKLaboklab(51.12% 0.1779 -0.0638)
OKLCHoklch(51.12% 0.189 340.3)
XYZxyz(21.0689, 11.4845, 24.0241)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72887 #28A748
analogous
#8728A7 #A72887 #A72847
triadic
#A72887 #87A728 #2887A7
tetradic
#A72887 #A78728 #28A748 #2847A7
square
#A72887 #A78728 #28A748 #2847A7
split-complementary
#A72887 #47A728 #28A787
monochromatic
#441037 #761C5F #A72887 #D03CAB #DC6DC0

Accessibility & contrast

On white

6.37
#A72887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A72887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72887
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72887#FFFFFF#000000##FFFFFF
##A728871.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a72887;
/* rgb */ color: rgb(167, 40, 135);
/* oklch */ color: oklch(51.1% 0.189 340.3);
Tailwind
colors: {
  custom: {
    50: '#c56faa',
    500: '#a72887',
    950: '#000000',
  },
}
SCSS
$custom: #a72887;
$custom-light: #c56faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a72887",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 315.118,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.189,
    "h": 340.3
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#A72887
secondary
#68C37F
accent
#E46C43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A72887

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

Preview Lab → · Contrast checker → · Palette generator →

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