#A72057#A72057

#A72057 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.173 H 2.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A72057
RGBrgb(167, 32, 87)
HSLhsl(336, 68%, 39%)
HSVhsv(336, 81%, 65%)
CMYKcmyk(0%, 80.8%, 47.9%, 34.5%)
CIE-LABlab(37.73, 56.45, 2.48)
CIE-LCHlch(37.73, 56.50, 2.51°)
OKLaboklab(48.59% 0.1733 0.007)
OKLCHoklch(48.59% 0.173 2.3)
XYZxyz(18.1747, 9.9391, 9.9764)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72057 #20A770
analogous
#A7209B #A72057 #A72D20
triadic
#A72057 #57A720 #2057A7
tetradic
#A72057 #9BA720 #20A770 #2D20A7
square
#A72057 #9BA720 #20A770 #2D20A7
split-complementary
#A72057 #20A72D #209BA7
monochromatic
#400C21 #74163C #A72057 #D72D72 #E16195

Accessibility & contrast

On white

7.03
#A72057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A72057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A72057
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72057#FFFFFF#000000##FFFFFF
##A720571.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424858
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#B60039
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a72057;
/* rgb */ color: rgb(167, 32, 87);
/* oklch */ color: oklch(48.6% 0.173 2.3);
Tailwind
colors: {
  custom: {
    50: '#c76b86',
    500: '#a72057',
    950: '#000000',
  },
}
SCSS
$custom: #a72057;
$custom-light: #c76b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a72057",
  "rgb": {
    "r": 167,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 335.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4859,
    "c": 0.17341,
    "h": 2.3
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#A72057
secondary
#5DC59B
accent
#EBA43D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C

Preview Lab

Preview with #A72057

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

Preview Lab → · Contrast checker → · Palette generator →

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