#A71F57#A71F57

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

Color values

HEX#A71F57
RGBrgb(167, 31, 87)
HSLhsl(335, 69%, 39%)
HSVhsv(335, 81%, 65%)
CMYKcmyk(0%, 81.4%, 47.9%, 34.5%)
CIE-LABlab(37.64, 56.72, 2.34)
CIE-LCHlch(37.64, 56.77, 2.36°)
OKLaboklab(48.52% 0.1742 0.0066)
OKLCHoklch(48.52% 0.174 2.2)
XYZxyz(18.1482, 9.8861, 9.9675)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F57 #1FA76F
analogous
#A71F9B #A71F57 #A72B1F
triadic
#A71F57 #57A71F #1F57A7
tetradic
#A71F57 #9BA71F #1FA76F #2B1FA7
square
#A71F57 #9BA71F #1FA76F #2B1FA7
split-complementary
#A71F57 #1FA72B #1F9BA7
monochromatic
#400C21 #73153C #A71F57 #D82B72 #E15F95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F57#FFFFFF#000000##FFFFFF
##A71F571.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)
#424858
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#B60039
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a71f57;
/* rgb */ color: rgb(167, 31, 87);
/* oklch */ color: oklch(48.5% 0.174 2.2);
Tailwind
colors: {
  custom: {
    50: '#c76a86',
    500: '#a71f57',
    950: '#000000',
  },
}
SCSS
$custom: #a71f57;
$custom-light: #c76a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f57",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 335.294,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.17428,
    "h": 2.2
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#A71F57
secondary
#5CC69A
accent
#ECA33C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C

Preview Lab

Preview with #A71F57

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

Preview Lab → · Contrast checker → · Palette generator →

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