#A71F4E#A71F4E

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

Color values

HEX#A71F4E
RGBrgb(167, 31, 78)
HSLhsl(339, 69%, 39%)
HSVhsv(339, 81%, 65%)
CMYKcmyk(0%, 81.4%, 53.3%, 34.5%)
CIE-LABlab(37.39, 55.97, 7.76)
CIE-LCHlch(37.39, 56.50, 7.89°)
OKLaboklab(48.25% 0.1709 0.02)
OKLCHoklch(48.25% 0.172 6.7)
XYZxyz(17.8032, 9.7481, 8.1504)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F4E #1FA778
analogous
#A71F92 #A71F4E #A7341F
triadic
#A71F4E #4EA71F #1F4EA7
tetradic
#A71F4E #92A71F #1FA778 #341FA7
square
#A71F4E #92A71F #1FA778 #341FA7
split-complementary
#A71F4E #1FA734 #1F92A7
monochromatic
#400C1E #731536 #A71F4E #D82B67 #E15F8C

Accessibility & contrast

On white

7.12
#A71F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F4E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F4E#FFFFFF#000000##FFFFFF
##A71F4E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474F
Deuteranopia (green-blind)
#67624B
Tritanopia (blue-blind)
#B60034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f4e;
/* rgb */ color: rgb(167, 31, 78);
/* oklch */ color: oklch(48.3% 0.172 6.7);
Tailwind
colors: {
  custom: {
    50: '#c76a7f',
    500: '#a71f4e',
    950: '#000000',
  },
}
SCSS
$custom: #a71f4e;
$custom-light: #c76a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f4e",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 339.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.17202,
    "h": 6.7
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#A71F4E
secondary
#5CC6A1
accent
#ECAF3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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