#A71B45#A71B45

#A71B45 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.174 H 10.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A71B45
RGBrgb(167, 27, 69)
HSLhsl(342, 72%, 38%)
HSVhsv(342, 84%, 65%)
CMYKcmyk(0%, 83.8%, 58.7%, 34.5%)
CIE-LABlab(36.80, 56.33, 12.74)
CIE-LCHlch(36.80, 57.75, 12.74°)
OKLaboklab(47.75% 0.1707 0.0318)
OKLCHoklch(47.75% 0.174 10.6)
XYZxyz(17.4042, 9.4316, 6.5331)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B45 #1BA77D
analogous
#A71B8B #A71B45 #A7371B
triadic
#A71B45 #45A71B #1B45A7
tetradic
#A71B45 #8BA71B #1BA77D #371BA7
square
#A71B45 #8BA71B #1BA77D #371BA7
split-complementary
#A71B45 #1BA737 #1B8BA7
monochromatic
#3E0A19 #72122F #A71B45 #DC245B #E45882

Accessibility & contrast

On white

7.28
#A71B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A71B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B45
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B45#FFFFFF#000000##FFFFFF
##A71B451.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444546
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#B7002E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71b45;
/* rgb */ color: rgb(167, 27, 69);
/* oklch */ color: oklch(47.8% 0.174 10.6);
Tailwind
colors: {
  custom: {
    50: '#c86978',
    500: '#a71b45',
    950: '#000000',
  },
}
SCSS
$custom: #a71b45;
$custom-light: #c86978;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b45",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 342,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47752,
    "c": 0.17364,
    "h": 10.6
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#A71B45
secondary
#56C8A6
accent
#EFB839
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71B45

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

Preview Lab → · Contrast checker → · Palette generator →

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