#A71F47#A71F47

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

Color values

HEX#A71F47
RGBrgb(167, 31, 71)
HSLhsl(342, 69%, 39%)
HSVhsv(342, 81%, 65%)
CMYKcmyk(0%, 81.4%, 57.5%, 34.5%)
CIE-LABlab(37.21, 55.44, 12.01)
CIE-LCHlch(37.21, 56.73, 12.23°)
OKLaboklab(48.07% 0.1681 0.0302)
OKLCHoklch(48.07% 0.171 10.2)
XYZxyz(17.5654, 9.6530, 6.8983)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F47 #1FA77F
analogous
#A71F8B #A71F47 #A73B1F
triadic
#A71F47 #47A71F #1F47A7
tetradic
#A71F47 #8BA71F #1FA77F #3B1FA7
square
#A71F47 #8BA71F #1FA77F #3B1FA7
split-complementary
#A71F47 #1FA73B #1F8BA7
monochromatic
#400C1B #731531 #A71F47 #D82B5E #E15F85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F47#FFFFFF#000000##FFFFFF
##A71F471.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)
#454648
Deuteranopia (green-blind)
#686144
Tritanopia (blue-blind)
#B70031
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f47;
/* rgb */ color: rgb(167, 31, 71);
/* oklch */ color: oklch(48.1% 0.171 10.2);
Tailwind
colors: {
  custom: {
    50: '#c86a79',
    500: '#a71f47',
    950: '#000000',
  },
}
SCSS
$custom: #a71f47;
$custom-light: #c86a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f47",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 342.353,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.17083,
    "h": 10.2
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#A71F47
secondary
#5CC6A7
accent
#ECB83C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71F47

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

Preview Lab → · Contrast checker → · Palette generator →

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