#A72F8A#A72F8A

#A72F8A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 339.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A72F8A
RGBrgb(167, 47, 138)
HSLhsl(315, 56%, 42%)
HSVhsv(315, 72%, 65%)
CMYKcmyk(0%, 71.9%, 17.4%, 34.5%)
CIE-LABlab(41.35, 57.64, -23.97)
CIE-LCHlch(41.35, 62.43, 337.42°)
OKLaboklab(51.86% 0.1712 -0.0648)
OKLCHoklch(51.86% 0.183 339.3)
XYZxyz(21.5408, 12.0855, 25.2381)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F8A #2FA74C
analogous
#882FA7 #A72F8A #A72F4E
triadic
#A72F8A #8AA72F #2F8AA7
tetradic
#A72F8A #A7882F #2FA74C #2F4EA7
square
#A72F8A #A7882F #2FA74C #2F4EA7
split-complementary
#A72F8A #4EA72F #2FA788
monochromatic
#47143B #772263 #A72F8A #CB48AC #D978C1

Accessibility & contrast

On white

6.15
#A72F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A72F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F8A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F8A#FFFFFF#000000##FFFFFF
##A72F8A1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558D
Deuteranopia (green-blind)
#5D6887
Tritanopia (blue-blind)
#B13358
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a72f8a;
/* rgb */ color: rgb(167, 47, 138);
/* oklch */ color: oklch(51.9% 0.183 339.3);
Tailwind
colors: {
  custom: {
    50: '#c573ac',
    500: '#a72f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a72f8a;
$custom-light: #c573ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f8a",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 314.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.18308,
    "h": 339.3
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#A72F8A
secondary
#71C184
accent
#DF6D48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A72F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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