#A72157#A72157

#A72157 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.173 H 2.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A72157
RGBrgb(167, 33, 87)
HSLhsl(336, 67%, 39%)
HSVhsv(336, 80%, 65%)
CMYKcmyk(0%, 80.2%, 47.9%, 34.5%)
CIE-LABlab(37.83, 56.17, 2.62)
CIE-LCHlch(37.83, 56.23, 2.67°)
OKLaboklab(48.66% 0.1724 0.0073)
OKLCHoklch(48.66% 0.173 2.4)
XYZxyz(18.2021, 9.9938, 9.9855)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72157 #21A771
analogous
#A7219A #A72157 #A72E21
triadic
#A72157 #57A721 #2157A7
tetradic
#A72157 #9AA721 #21A771 #2E21A7
square
#A72157 #9AA721 #21A771 #2E21A7
split-complementary
#A72157 #21A72E #219AA7
monochromatic
#410D22 #74173C #A72157 #D62F72 #E06295

Accessibility & contrast

On white

7.00
#A72157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A72157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72157
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72157#FFFFFF#000000##FFFFFF
##A721571.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a72157;
/* rgb */ color: rgb(167, 33, 87);
/* oklch */ color: oklch(48.7% 0.173 2.4);
Tailwind
colors: {
  custom: {
    50: '#c76b86',
    500: '#a72157',
    950: '#000000',
  },
}
SCSS
$custom: #a72157;
$custom-light: #c76b86;
$custom-dark: #000000;
JSON
{
  "hex": "#a72157",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 335.821,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.17252,
    "h": 2.4
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#A72157
secondary
#5FC59C
accent
#EAA53E
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A72157

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

Preview Lab → · Contrast checker → · Palette generator →

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