#A71B51#A71B51

#A71B51 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 4.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A71B51
RGBrgb(167, 27, 81)
HSLhsl(337, 72%, 38%)
HSVhsv(337, 84%, 65%)
CMYKcmyk(0%, 83.8%, 51.5%, 34.5%)
CIE-LABlab(37.11, 57.23, 5.43)
CIE-LCHlch(37.11, 57.49, 5.42°)
OKLaboklab(48.08% 0.1753 0.0143)
OKLCHoklch(48.08% 0.176 4.7)
XYZxyz(17.8151, 9.5960, 8.6971)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B51 #1BA771
analogous
#A71B97 #A71B51 #A72B1B
triadic
#A71B51 #51A71B #1B51A7
tetradic
#A71B51 #97A71B #1BA771 #2B1BA7
square
#A71B51 #97A71B #1BA771 #2B1BA7
split-complementary
#A71B51 #1BA72B #1B97A7
monochromatic
#3E0A1E #721237 #A71B51 #DC246B #E4588E

Accessibility & contrast

On white

7.20
#A71B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A71B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B51
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B51#FFFFFF#000000##FFFFFF
##A71B511.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414652
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B60034
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71b51;
/* rgb */ color: rgb(167, 27, 81);
/* oklch */ color: oklch(48.1% 0.176 4.7);
Tailwind
colors: {
  custom: {
    50: '#c76981',
    500: '#a71b51',
    950: '#000000',
  },
}
SCSS
$custom: #a71b51;
$custom-light: #c76981;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b51",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 336.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.17588,
    "h": 4.7
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#A71B51
secondary
#56C89C
accent
#EFA939
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71B51

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

Preview Lab → · Contrast checker → · Palette generator →

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