#A71F51#A71F51

#A71F51 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.173 H 5.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A71F51
RGBrgb(167, 31, 81)
HSLhsl(338, 69%, 39%)
HSVhsv(338, 81%, 65%)
CMYKcmyk(0%, 81.4%, 51.5%, 34.5%)
CIE-LABlab(37.47, 56.21, 5.94)
CIE-LCHlch(37.47, 56.52, 6.04°)
OKLaboklab(48.34% 0.172 0.0156)
OKLCHoklch(48.34% 0.173 5.2)
XYZxyz(17.9132, 9.7921, 8.7298)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F51 #1FA775
analogous
#A71F95 #A71F51 #A7311F
triadic
#A71F51 #51A71F #1F51A7
tetradic
#A71F51 #95A71F #1FA775 #311FA7
square
#A71F51 #95A71F #1FA775 #311FA7
split-complementary
#A71F51 #1FA731 #1F95A7
monochromatic
#400C1F #731538 #A71F51 #D82B6B #E15F8F

Accessibility & contrast

On white

7.10
#A71F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A71F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F51
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F51#FFFFFF#000000##FFFFFF
##A71F511.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71f51;
/* rgb */ color: rgb(167, 31, 81);
/* oklch */ color: oklch(48.3% 0.173 5.2);
Tailwind
colors: {
  custom: {
    50: '#c76a81',
    500: '#a71f51',
    950: '#000000',
  },
}
SCSS
$custom: #a71f51;
$custom-light: #c76a81;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f51",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 337.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.17269,
    "h": 5.2
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#A71F51
secondary
#5CC69F
accent
#ECAB3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71F51

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

Preview Lab → · Contrast checker → · Palette generator →

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