#A71F5D#A71F5D

#A71F5D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.176 H 359.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A71F5D
RGBrgb(167, 31, 93)
HSLhsl(333, 69%, 39%)
HSVhsv(333, 81%, 65%)
CMYKcmyk(0%, 81.4%, 44.3%, 34.5%)
CIE-LABlab(37.82, 57.27, -1.23)
CIE-LCHlch(37.82, 57.29, 358.77°)
OKLaboklab(48.71% 0.1762 -0.0025)
OKLCHoklch(48.71% 0.176 359.2)
XYZxyz(18.4036, 9.9883, 11.3126)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F5D #1FA769
analogous
#A71FA1 #A71F5D #A7251F
triadic
#A71F5D #5DA71F #1F5DA7
tetradic
#A71F5D #A1A71F #1FA769 #251FA7
square
#A71F5D #A1A71F #1FA769 #251FA7
split-complementary
#A71F5D #1FA725 #1FA1A7
monochromatic
#400C24 #731540 #A71F5D #D82B7A #E15F9A

Accessibility & contrast

On white

7.01
#A71F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A71F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F5D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F5D#FFFFFF#000000##FFFFFF
##A71F5D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#B5003C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a71f5d;
/* rgb */ color: rgb(167, 31, 93);
/* oklch */ color: oklch(48.7% 0.176 359.2);
Tailwind
colors: {
  custom: {
    50: '#c76b8a',
    500: '#a71f5d',
    950: '#000000',
  },
}
SCSS
$custom: #a71f5d;
$custom-light: #c76b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f5d",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 332.647,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48714,
    "c": 0.17621,
    "h": 359.2
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#A71F5D
secondary
#5CC696
accent
#EC9C3C
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A71F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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