#A71C4F#A71C4F

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

Color values

HEX#A71C4F
RGBrgb(167, 28, 79)
HSLhsl(338, 71%, 38%)
HSVhsv(338, 83%, 65%)
CMYKcmyk(0%, 83.2%, 52.7%, 34.5%)
CIE-LABlab(37.14, 56.83, 6.76)
CIE-LCHlch(37.14, 57.23, 6.79°)
OKLaboklab(48.08% 0.1738 0.0176)
OKLCHoklch(48.08% 0.175 5.8)
XYZxyz(17.7645, 9.6131, 8.3157)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C4F #1CA774
analogous
#A71C94 #A71C4F #A72F1C
triadic
#A71C4F #4FA71C #1C4FA7
tetradic
#A71C4F #94A71C #1CA774 #2F1CA7
square
#A71C4F #94A71C #1CA774 #2F1CA7
split-complementary
#A71C4F #1CA72F #1C94A7
monochromatic
#3E0A1D #731336 #A71C4F #DB2668 #E35A8C

Accessibility & contrast

On white

7.19
#A71C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A71C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71C4F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C4F#FFFFFF#000000##FFFFFF
##A71C4F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#B60033
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71c4f;
/* rgb */ color: rgb(167, 28, 79);
/* oklch */ color: oklch(48.1% 0.175 5.8);
Tailwind
colors: {
  custom: {
    50: '#c86980',
    500: '#a71c4f',
    950: '#000000',
  },
}
SCSS
$custom: #a71c4f;
$custom-light: #c86980;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c4f",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 337.986,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4808,
    "c": 0.17465,
    "h": 5.8
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#A71C4F
secondary
#58C79E
accent
#EEAC3A
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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