#A71C52#A71C52

#A71C52 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.175 H 4.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A71C52
RGBrgb(167, 28, 82)
HSLhsl(337, 71%, 38%)
HSVhsv(337, 83%, 65%)
CMYKcmyk(0%, 83.2%, 50.9%, 34.5%)
CIE-LABlab(37.22, 57.07, 4.95)
CIE-LCHlch(37.22, 57.29, 4.96°)
OKLaboklab(48.17% 0.1749 0.0131)
OKLCHoklch(48.17% 0.175 4.3)
XYZxyz(17.8762, 9.6577, 8.9038)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C52 #1CA771
analogous
#A71C97 #A71C52 #A72C1C
triadic
#A71C52 #52A71C #1C52A7
tetradic
#A71C52 #97A71C #1CA771 #2C1CA7
square
#A71C52 #97A71C #1CA771 #2C1CA7
split-complementary
#A71C52 #1CA72C #1C97A7
monochromatic
#3E0A1F #731338 #A71C52 #DB266C #E35A8F

Accessibility & contrast

On white

7.16
#A71C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A71C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71C52
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C52#FFFFFF#000000##FFFFFF
##A71C521.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71c52;
/* rgb */ color: rgb(167, 28, 82);
/* oklch */ color: oklch(48.2% 0.175 4.3);
Tailwind
colors: {
  custom: {
    50: '#c76982',
    500: '#a71c52',
    950: '#000000',
  },
}
SCSS
$custom: #a71c52;
$custom-light: #c76982;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c52",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 336.691,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.17536,
    "h": 4.3
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#A71C52
secondary
#58C79C
accent
#EEA83A
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71C52

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

Preview Lab → · Contrast checker → · Palette generator →

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