#A71F4D#A71F4D

#A71F4D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 7.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A71F4D
RGBrgb(167, 31, 77)
HSLhsl(340, 69%, 39%)
HSVhsv(340, 81%, 65%)
CMYKcmyk(0%, 81.4%, 53.9%, 34.5%)
CIE-LABlab(37.36, 55.89, 8.36)
CIE-LCHlch(37.36, 56.51, 8.51°)
OKLaboklab(48.23% 0.1705 0.0215)
OKLCHoklch(48.23% 0.172 7.2)
XYZxyz(17.7676, 9.7339, 7.9630)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F4D #1FA779
analogous
#A71F91 #A71F4D #A7351F
triadic
#A71F4D #4DA71F #1F4DA7
tetradic
#A71F4D #91A71F #1FA779 #351FA7
square
#A71F4D #91A71F #1FA779 #351FA7
split-complementary
#A71F4D #1FA735 #1F91A7
monochromatic
#400C1D #731535 #A71F4D #D82B66 #E15F8B

Accessibility & contrast

On white

7.13
#A71F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A71F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F4D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F4D#FFFFFF#000000##FFFFFF
##A71F4D1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#67624A
Tritanopia (blue-blind)
#B70034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f4d;
/* rgb */ color: rgb(167, 31, 77);
/* oklch */ color: oklch(48.2% 0.172 7.2);
Tailwind
colors: {
  custom: {
    50: '#c86a7e',
    500: '#a71f4d',
    950: '#000000',
  },
}
SCSS
$custom: #a71f4d;
$custom-light: #c86a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f4d",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 339.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.17182,
    "h": 7.2
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#A71F4D
secondary
#5CC6A2
accent
#ECB03C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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