#A71F58#A71F58

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

Color values

HEX#A71F58
RGBrgb(167, 31, 88)
HSLhsl(335, 69%, 39%)
HSVhsv(335, 81%, 65%)
CMYKcmyk(0%, 81.4%, 47.3%, 34.5%)
CIE-LABlab(37.67, 56.81, 1.74)
CIE-LCHlch(37.67, 56.84, 1.76°)
OKLaboklab(48.55% 0.1745 0.0051)
OKLCHoklch(48.55% 0.175 1.7)
XYZxyz(18.1893, 9.9026, 10.1842)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F58 #1FA76E
analogous
#A71F9C #A71F58 #A72A1F
triadic
#A71F58 #58A71F #1F58A7
tetradic
#A71F58 #9CA71F #1FA76E #2A1FA7
square
#A71F58 #9CA71F #1FA76E #2A1FA7
split-complementary
#A71F58 #1FA72A #1F9CA7
monochromatic
#400C22 #73153D #A71F58 #D82B74 #E15F96

Accessibility & contrast

On white

7.05
#A71F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A71F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F58
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F58#FFFFFF#000000##FFFFFF
##A71F581.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#656255
Tritanopia (blue-blind)
#B60039
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a71f58;
/* rgb */ color: rgb(167, 31, 88);
/* oklch */ color: oklch(48.6% 0.175 1.7);
Tailwind
colors: {
  custom: {
    50: '#c76a86',
    500: '#a71f58',
    950: '#000000',
  },
}
SCSS
$custom: #a71f58;
$custom-light: #c76a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f58",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 334.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.17457,
    "h": 1.7
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#A71F58
secondary
#5CC699
accent
#ECA23C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A71F58

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

Preview Lab → · Contrast checker → · Palette generator →

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