#A72151#A72151

#A72151 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.171 H 5.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A72151
RGBrgb(167, 33, 81)
HSLhsl(339, 67%, 39%)
HSVhsv(339, 80%, 65%)
CMYKcmyk(0%, 80.2%, 51.5%, 34.5%)
CIE-LABlab(37.66, 55.65, 6.22)
CIE-LCHlch(37.66, 56.00, 6.38°)
OKLaboklab(48.48% 0.1702 0.0163)
OKLCHoklch(48.48% 0.171 5.5)
XYZxyz(17.9670, 9.8998, 8.7478)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72151 #21A777
analogous
#A72194 #A72151 #A73421
triadic
#A72151 #51A721 #2151A7
tetradic
#A72151 #94A721 #21A777 #3421A7
square
#A72151 #94A721 #21A777 #3421A7
split-complementary
#A72151 #21A734 #2194A7
monochromatic
#410D1F #741738 #A72151 #D62F6B #E0628F

Accessibility & contrast

On white

7.05
#A72151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A72151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A72151
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72151#FFFFFF#000000##FFFFFF
##A721511.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444852
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B60036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a72151;
/* rgb */ color: rgb(167, 33, 81);
/* oklch */ color: oklch(48.5% 0.171 5.5);
Tailwind
colors: {
  custom: {
    50: '#c76b81',
    500: '#a72151',
    950: '#000000',
  },
}
SCSS
$custom: #a72151;
$custom-light: #c76b81;
$custom-dark: #000000;
JSON
{
  "hex": "#a72151",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 338.507,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.17096,
    "h": 5.5
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#A72151
secondary
#5FC5A0
accent
#EAAC3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A72151

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

Preview Lab → · Contrast checker → · Palette generator →

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