#A71C51#A71C51

#A71C51 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.175 H 4.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A71C51
RGBrgb(167, 28, 81)
HSLhsl(337, 71%, 38%)
HSVhsv(337, 83%, 65%)
CMYKcmyk(0%, 83.2%, 51.5%, 34.5%)
CIE-LABlab(37.19, 56.99, 5.55)
CIE-LCHlch(37.19, 57.26, 5.57°)
OKLaboklab(48.14% 0.1745 0.0146)
OKLCHoklch(48.14% 0.175 4.8)
XYZxyz(17.8384, 9.6426, 8.7049)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C51 #1CA772
analogous
#A71C96 #A71C51 #A72C1C
triadic
#A71C51 #51A71C #1C51A7
tetradic
#A71C51 #96A71C #1CA772 #2C1CA7
square
#A71C51 #96A71C #1CA772 #2C1CA7
split-complementary
#A71C51 #1CA72C #1C96A7
monochromatic
#3E0A1E #731338 #A71C51 #DB266B #E35A8E

Accessibility & contrast

On white

7.17
#A71C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71C51
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C51#FFFFFF#000000##FFFFFF
##A71C511.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B60034
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71c51;
/* rgb */ color: rgb(167, 28, 81);
/* oklch */ color: oklch(48.1% 0.175 4.8);
Tailwind
colors: {
  custom: {
    50: '#c76981',
    500: '#a71c51',
    950: '#000000',
  },
}
SCSS
$custom: #a71c51;
$custom-light: #c76981;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c51",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 337.122,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.17511,
    "h": 4.8
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#A71C51
secondary
#58C79D
accent
#EEA93A
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71C51

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

Preview Lab → · Contrast checker → · Palette generator →

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