#A71F5C#A71F5C

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

Color values

HEX#A71F5C
RGBrgb(167, 31, 92)
HSLhsl(333, 69%, 39%)
HSVhsv(333, 81%, 65%)
CMYKcmyk(0%, 81.4%, 44.9%, 34.5%)
CIE-LABlab(37.79, 57.18, -0.63)
CIE-LCHlch(37.79, 57.18, 359.36°)
OKLaboklab(48.68% 0.1759 -0.001)
OKLCHoklch(48.68% 0.176 359.7)
XYZxyz(18.3596, 9.9707, 11.0809)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F5C #1FA76A
analogous
#A71FA0 #A71F5C #A7261F
triadic
#A71F5C #5CA71F #1F5CA7
tetradic
#A71F5C #A0A71F #1FA76A #261FA7
square
#A71F5C #A0A71F #1FA76A #261FA7
split-complementary
#A71F5C #1FA726 #1FA0A7
monochromatic
#400C23 #731540 #A71F5C #D82B79 #E15F99

Accessibility & contrast

On white

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

On black

2.99
#A71F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A71F5C#FFFFFF#000000##FFFFFF
##A71F5C1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485D
Deuteranopia (green-blind)
#656259
Tritanopia (blue-blind)
#B6003B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a71f5c;
/* rgb */ color: rgb(167, 31, 92);
/* oklch */ color: oklch(48.7% 0.176 359.7);
Tailwind
colors: {
  custom: {
    50: '#c76b8a',
    500: '#a71f5c',
    950: '#000000',
  },
}
SCSS
$custom: #a71f5c;
$custom-light: #c76b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f5c",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 333.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.17586,
    "h": 359.7
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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