#A71F56#A71F56

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

Color values

HEX#A71F56
RGBrgb(167, 31, 86)
HSLhsl(336, 69%, 39%)
HSVhsv(336, 81%, 65%)
CMYKcmyk(0%, 81.4%, 48.5%, 34.5%)
CIE-LABlab(37.61, 56.63, 2.94)
CIE-LCHlch(37.61, 56.71, 2.97°)
OKLaboklab(48.49% 0.1738 0.0081)
OKLCHoklch(48.49% 0.174 2.7)
XYZxyz(18.1076, 9.8699, 9.7539)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F56 #1FA770
analogous
#A71F9A #A71F56 #A72C1F
triadic
#A71F56 #56A71F #1F56A7
tetradic
#A71F56 #9AA71F #1FA770 #2C1FA7
square
#A71F56 #9AA71F #1FA770 #2C1FA7
split-complementary
#A71F56 #1FA72C #1F9AA7
monochromatic
#400C21 #73153B #A71F56 #D82B71 #E15F94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F56#FFFFFF#000000##FFFFFF
##A71F561.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)
#424857
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#B60038
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f56;
/* rgb */ color: rgb(167, 31, 86);
/* oklch */ color: oklch(48.5% 0.174 2.7);
Tailwind
colors: {
  custom: {
    50: '#c76a85',
    500: '#a71f56',
    950: '#000000',
  },
}
SCSS
$custom: #a71f56;
$custom-light: #c76a85;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f56",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 335.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48488,
    "c": 0.17398,
    "h": 2.7
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#A71F56
secondary
#5CC69B
accent
#ECA53C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C

Preview Lab

Preview with #A71F56

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

Preview Lab → · Contrast checker → · Palette generator →

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