#A72882#A72882

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

Color values

HEX#A72882
RGBrgb(167, 40, 130)
HSLhsl(317, 61%, 41%)
HSVhsv(317, 76%, 65%)
CMYKcmyk(0%, 76%, 22.2%, 34.5%)
CIE-LABlab(40.16, 58.88, -20.91)
CIE-LCHlch(40.16, 62.49, 340.45°)
OKLaboklab(50.88% 0.1771 -0.0561)
OKLCHoklch(50.88% 0.186 342.4)
XYZxyz(20.7251, 11.3469, 22.2135)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72882 #28A74D
analogous
#8C28A7 #A72882 #A72843
triadic
#A72882 #82A728 #2882A7
tetradic
#A72882 #A78C28 #28A74D #2843A7
square
#A72882 #A78C28 #28A74D #2843A7
split-complementary
#A72882 #43A728 #28A78C
monochromatic
#441035 #761C5C #A72882 #D03CA5 #DC6DBC

Accessibility & contrast

On white

6.42
#A72882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A72882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72882
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72882#FFFFFF#000000##FFFFFF
##A728821.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#B22952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a72882;
/* rgb */ color: rgb(167, 40, 130);
/* oklch */ color: oklch(50.9% 0.186 342.4);
Tailwind
colors: {
  custom: {
    50: '#c56fa6',
    500: '#a72882',
    950: '#000000',
  },
}
SCSS
$custom: #a72882;
$custom-light: #c56fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72882",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 317.48,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.1858,
    "h": 342.4
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#A72882
secondary
#68C382
accent
#E47243
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A72882

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

Preview Lab → · Contrast checker → · Palette generator →

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