#A71F5A#A71F5A

#A71F5A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.175 H 0.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A71F5A
RGBrgb(167, 31, 90)
HSLhsl(334, 69%, 39%)
HSVhsv(334, 81%, 65%)
CMYKcmyk(0%, 81.4%, 46.1%, 34.5%)
CIE-LABlab(37.73, 56.99, 0.55)
CIE-LCHlch(37.73, 57.00, 0.55°)
OKLaboklab(48.62% 0.1752 0.0021)
OKLCHoklch(48.62% 0.175 0.7)
XYZxyz(18.2733, 9.9361, 10.6265)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F5A #1FA76C
analogous
#A71F9E #A71F5A #A7281F
triadic
#A71F5A #5AA71F #1F5AA7
tetradic
#A71F5A #9EA71F #1FA76C #281FA7
square
#A71F5A #9EA71F #1FA76C #281FA7
split-complementary
#A71F5A #1FA728 #1F9EA7
monochromatic
#400C22 #73153E #A71F5A #D82B76 #E15F98

Accessibility & contrast

On white

7.03
#A71F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F5A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F5A#FFFFFF#000000##FFFFFF
##A71F5A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41485B
Deuteranopia (green-blind)
#656257
Tritanopia (blue-blind)
#B6003A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a71f5a;
/* rgb */ color: rgb(167, 31, 90);
/* oklch */ color: oklch(48.6% 0.175 0.7);
Tailwind
colors: {
  custom: {
    50: '#c76b88',
    500: '#a71f5a',
    950: '#000000',
  },
}
SCSS
$custom: #a71f5a;
$custom-light: #c76b88;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f5a",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 333.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48615,
    "c": 0.1752,
    "h": 0.7
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#A71F5A
secondary
#5CC698
accent
#EC9F3C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A71F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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