#A71F54#A71F54

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

Color values

HEX#A71F54
RGBrgb(167, 31, 84)
HSLhsl(337, 69%, 39%)
HSVhsv(337, 81%, 65%)
CMYKcmyk(0%, 81.4%, 49.7%, 34.5%)
CIE-LABlab(37.55, 56.46, 4.14)
CIE-LCHlch(37.55, 56.61, 4.19°)
OKLaboklab(48.43% 0.1731 0.0111)
OKLCHoklch(48.43% 0.173 3.7)
XYZxyz(18.0282, 9.8381, 9.3354)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F54 #1FA772
analogous
#A71F98 #A71F54 #A72E1F
triadic
#A71F54 #54A71F #1F54A7
tetradic
#A71F54 #98A71F #1FA772 #2E1FA7
square
#A71F54 #98A71F #1FA772 #2E1FA7
split-complementary
#A71F54 #1FA72E #1F98A7
monochromatic
#400C20 #73153A #A71F54 #D82B6F #E15F92

Accessibility & contrast

On white

7.08
#A71F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A71F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F54
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F54#FFFFFF#000000##FFFFFF
##A71F541.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424755
Deuteranopia (green-blind)
#666251
Tritanopia (blue-blind)
#B60037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f54;
/* rgb */ color: rgb(167, 31, 84);
/* oklch */ color: oklch(48.4% 0.173 3.7);
Tailwind
colors: {
  custom: {
    50: '#c76a83',
    500: '#a71f54',
    950: '#000000',
  },
}
SCSS
$custom: #a71f54;
$custom-light: #c76a83;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f54",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 336.618,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.17344,
    "h": 3.7
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#A71F54
secondary
#5CC69D
accent
#ECA73C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71F54

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

Preview Lab → · Contrast checker → · Palette generator →

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