#A71B4F#A71B4F

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

Color values

HEX#A71B4F
RGBrgb(167, 27, 79)
HSLhsl(338, 72%, 38%)
HSVhsv(338, 84%, 65%)
CMYKcmyk(0%, 83.8%, 52.7%, 34.5%)
CIE-LABlab(37.05, 57.07, 6.64)
CIE-LCHlch(37.05, 57.46, 6.64°)
OKLaboklab(48.02% 0.1746 0.0173)
OKLCHoklch(48.02% 0.175 5.7)
XYZxyz(17.7412, 9.5664, 8.3079)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B4F #1BA773
analogous
#A71B95 #A71B4F #A72D1B
triadic
#A71B4F #4FA71B #1B4FA7
tetradic
#A71B4F #95A71B #1BA773 #2D1BA7
square
#A71B4F #95A71B #1BA773 #2D1BA7
split-complementary
#A71B4F #1BA72D #1B95A7
monochromatic
#3E0A1D #721236 #A71B4F #DC2468 #E4588C

Accessibility & contrast

On white

7.21
#A71B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A71B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B4F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B4F#FFFFFF#000000##FFFFFF
##A71B4F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.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: #a71b4f;
/* rgb */ color: rgb(167, 27, 79);
/* oklch */ color: oklch(48.0% 0.175 5.7);
Tailwind
colors: {
  custom: {
    50: '#c86980',
    500: '#a71b4f',
    950: '#000000',
  },
}
SCSS
$custom: #a71b4f;
$custom-light: #c86980;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b4f",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 337.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.17541,
    "h": 5.7
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#A71B4F
secondary
#56C89D
accent
#EFAB39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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