#A72F91#A72F91

#A72F91 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.188 H 336.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A72F91
RGBrgb(167, 47, 145)
HSLhsl(311, 56%, 42%)
HSVhsv(311, 72%, 65%)
CMYKcmyk(0%, 71.9%, 13.2%, 34.5%)
CIE-LABlab(41.68, 58.67, -27.72)
CIE-LCHlch(41.68, 64.89, 334.71°)
OKLaboklab(52.21% 0.1721 -0.0755)
OKLCHoklch(52.21% 0.188 336.3)
XYZxyz(22.0640, 12.2948, 27.9937)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F91 #2FA745
analogous
#812FA7 #A72F91 #A72F55
triadic
#A72F91 #91A72F #2F91A7
tetradic
#A72F91 #A7812F #2FA745 #2F55A7
square
#A72F91 #A7812F #2FA745 #2F55A7
split-complementary
#A72F91 #55A72F #2FA781
monochromatic
#47143E #772268 #A72F91 #CB48B3 #D978C7

Accessibility & contrast

On white

6.07
#A72F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A72F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F91
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F91#FFFFFF#000000##FFFFFF
##A72F911.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315794
Deuteranopia (green-blind)
#5A698E
Tritanopia (blue-blind)
#B0375C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a72f91;
/* rgb */ color: rgb(167, 47, 145);
/* oklch */ color: oklch(52.2% 0.188 336.3);
Tailwind
colors: {
  custom: {
    50: '#c573b1',
    500: '#a72f91',
    950: '#000000',
  },
}
SCSS
$custom: #a72f91;
$custom-light: #c573b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f91",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 311,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.18796,
    "h": 336.3
  },
  "luminance": 0.12293
}

Semantic roles & 50–950 ramp

primary
#A72F91
secondary
#71C180
accent
#DF6448
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A72F91

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

Preview Lab → · Contrast checker → · Palette generator →

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