#A71F5B#A71F5B

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

Color values

HEX#A71F5B
RGBrgb(167, 31, 91)
HSLhsl(334, 69%, 39%)
HSVhsv(334, 81%, 65%)
CMYKcmyk(0%, 81.4%, 45.5%, 34.5%)
CIE-LABlab(37.76, 57.09, -0.04)
CIE-LCHlch(37.76, 57.09, 359.96°)
OKLaboklab(48.65% 0.1755 0.0005)
OKLCHoklch(48.65% 0.176 0.2)
XYZxyz(18.3162, 9.9533, 10.8522)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F5B #1FA76B
analogous
#A71F9F #A71F5B #A7271F
triadic
#A71F5B #5BA71F #1F5BA7
tetradic
#A71F5B #9FA71F #1FA76B #271FA7
square
#A71F5B #9FA71F #1FA76B #271FA7
split-complementary
#A71F5B #1FA727 #1F9FA7
monochromatic
#400C23 #73153F #A71F5B #D82B77 #E15F99

Accessibility & contrast

On white

7.02
#A71F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F5B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F5B#FFFFFF#000000##FFFFFF
##A71F5B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71f5b;
/* rgb */ color: rgb(167, 31, 91);
/* oklch */ color: oklch(48.6% 0.176 0.2);
Tailwind
colors: {
  custom: {
    50: '#c76b89',
    500: '#a71f5b',
    950: '#000000',
  },
}
SCSS
$custom: #a71f5b;
$custom-light: #c76b89;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f5b",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 333.529,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.17552,
    "h": 0.2
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#A71F5B
secondary
#5CC697
accent
#EC9E3C
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A71F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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