#A71C5F#A71C5F

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

Color values

HEX#A71C5F
RGBrgb(167, 28, 95)
HSLhsl(331, 71%, 38%)
HSVhsv(331, 83%, 65%)
CMYKcmyk(0%, 83.2%, 43.1%, 34.5%)
CIE-LABlab(37.62, 58.23, -2.80)
CIE-LCHlch(37.62, 58.30, 357.24°)
OKLaboklab(48.59% 0.1793 -0.0066)
OKLCHoklch(48.59% 0.179 357.9)
XYZxyz(18.4186, 9.8747, 11.7604)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C5F #1CA764
analogous
#A71CA4 #A71C5F #A71E1C
triadic
#A71C5F #5FA71C #1C5FA7
tetradic
#A71C5F #A4A71C #1CA764 #1E1CA7
square
#A71C5F #A4A71C #1CA764 #1E1CA7
split-complementary
#A71C5F #1CA71E #1CA4A7
monochromatic
#3E0A23 #731341 #A71C5F #DB267D #E35A9C

Accessibility & contrast

On white

7.06
#A71C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A71C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71C5F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C5F#FFFFFF#000000##FFFFFF
##A71C5F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4861
Deuteranopia (green-blind)
#63625C
Tritanopia (blue-blind)
#B5003C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71c5f;
/* rgb */ color: rgb(167, 28, 95);
/* oklch */ color: oklch(48.6% 0.179 357.9);
Tailwind
colors: {
  custom: {
    50: '#c76a8c',
    500: '#a71c5f',
    950: '#000000',
  },
}
SCSS
$custom: #a71c5f;
$custom-light: #c76a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c5f",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 331.079,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.17943,
    "h": 357.9
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#A71C5F
secondary
#58C791
accent
#EE973A
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14070C
muted
#827A7D

Preview Lab

Preview with #A71C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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