#A71F52#A71F52

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

Color values

HEX#A71F52
RGBrgb(167, 31, 82)
HSLhsl(338, 69%, 39%)
HSVhsv(338, 81%, 65%)
CMYKcmyk(0%, 81.4%, 50.9%, 34.5%)
CIE-LABlab(37.49, 56.29, 5.34)
CIE-LCHlch(37.49, 56.55, 5.42°)
OKLaboklab(48.37% 0.1724 0.0141)
OKLCHoklch(48.37% 0.173 4.7)
XYZxyz(17.9509, 9.8072, 8.9287)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F52 #1FA774
analogous
#A71F96 #A71F52 #A7301F
triadic
#A71F52 #52A71F #1F52A7
tetradic
#A71F52 #96A71F #1FA774 #301FA7
square
#A71F52 #96A71F #1FA774 #301FA7
split-complementary
#A71F52 #1FA730 #1F96A7
monochromatic
#400C1F #731539 #A71F52 #D82B6C #E15F90

Accessibility & contrast

On white

7.09
#A71F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F52
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F52#FFFFFF#000000##FFFFFF
##A71F521.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71f52;
/* rgb */ color: rgb(167, 31, 82);
/* oklch */ color: oklch(48.4% 0.173 4.7);
Tailwind
colors: {
  custom: {
    50: '#c76a82',
    500: '#a71f52',
    950: '#000000',
  },
}
SCSS
$custom: #a71f52;
$custom-light: #c76a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f52",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 337.5,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.17293,
    "h": 4.7
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#A71F52
secondary
#5CC69E
accent
#ECAA3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71F52

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

Preview Lab → · Contrast checker → · Palette generator →

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