#A71B40#A71B40

#A71B40 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.173 H 12.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A71B40
RGBrgb(167, 27, 64)
HSLhsl(344, 72%, 38%)
HSVhsv(344, 84%, 65%)
CMYKcmyk(0%, 83.8%, 61.7%, 34.5%)
CIE-LABlab(36.69, 56.00, 15.81)
CIE-LCHlch(36.69, 58.19, 15.77°)
OKLaboklab(47.63% 0.1687 0.0388)
OKLCHoklch(47.63% 0.173 12.9)
XYZxyz(17.2555, 9.3722, 5.7499)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B40 #1BA782
analogous
#A71B86 #A71B40 #A73C1B
triadic
#A71B40 #40A71B #1B40A7
tetradic
#A71B40 #86A71B #1BA782 #3C1BA7
square
#A71B40 #86A71B #1BA782 #3C1BA7
split-complementary
#A71B40 #1BA73C #1B86A7
monochromatic
#3E0A18 #72122C #A71B40 #DC2454 #E4587D

Accessibility & contrast

On white

7.31
#A71B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A71B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B40
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B40#FFFFFF#000000##FFFFFF
##A71B401.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#68603C
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71b40;
/* rgb */ color: rgb(167, 27, 64);
/* oklch */ color: oklch(47.6% 0.173 12.9);
Tailwind
colors: {
  custom: {
    50: '#c86874',
    500: '#a71b40',
    950: '#000000',
  },
}
SCSS
$custom: #a71b40;
$custom-light: #c86874;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b40",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 344.143,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47634,
    "c": 0.17312,
    "h": 12.9
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#A71B40
secondary
#56C8AA
accent
#EFBF39
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71B40

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

Preview Lab → · Contrast checker → · Palette generator →

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