#A72F8D#A72F8D

#A72F8D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 338.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A72F8D
RGBrgb(167, 47, 141)
HSLhsl(313, 56%, 42%)
HSVhsv(313, 72%, 65%)
CMYKcmyk(0%, 71.9%, 15.6%, 34.5%)
CIE-LABlab(41.49, 58.07, -25.59)
CIE-LCHlch(41.49, 63.46, 336.22°)
OKLaboklab(52.01% 0.1716 -0.0694)
OKLCHoklch(52.01% 0.185 338)
XYZxyz(21.7610, 12.1736, 26.3978)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F8D #2FA749
analogous
#852FA7 #A72F8D #A72F51
triadic
#A72F8D #8DA72F #2F8DA7
tetradic
#A72F8D #A7852F #2FA749 #2F51A7
square
#A72F8D #A7852F #2FA749 #2F51A7
split-complementary
#A72F8D #51A72F #2FA785
monochromatic
#47143C #772265 #A72F8D #CB48AF #D978C4

Accessibility & contrast

On white

6.11
#A72F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A72F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F8D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F8D#FFFFFF#000000##FFFFFF
##A72F8D1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#5B698A
Tritanopia (blue-blind)
#B0355A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a72f8d;
/* rgb */ color: rgb(167, 47, 141);
/* oklch */ color: oklch(52.0% 0.185 338.0);
Tailwind
colors: {
  custom: {
    50: '#c573ae',
    500: '#a72f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a72f8d;
$custom-light: #c573ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f8d",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 313,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.18514,
    "h": 338
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#A72F8D
secondary
#71C182
accent
#DF6948
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A72F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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