#A71840#A71840

#A71840 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.175 H 12.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A71840
RGBrgb(167, 24, 64)
HSLhsl(343, 75%, 37%)
HSVhsv(343, 86%, 65%)
CMYKcmyk(0%, 85.6%, 61.7%, 34.5%)
CIE-LABlab(36.45, 56.70, 15.48)
CIE-LCHlch(36.45, 58.78, 15.27°)
OKLaboklab(47.45% 0.171 0.038)
OKLCHoklch(47.45% 0.175 12.5)
XYZxyz(17.1902, 9.2416, 5.7281)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71840 #18A77F
analogous
#A71887 #A71840 #A73818
triadic
#A71840 #40A718 #1840A7
tetradic
#A71840 #87A718 #18A77F #3818A7
square
#A71840 #87A718 #18A77F #3818A7
split-complementary
#A71840 #18A738 #1887A7
monochromatic
#3C0917 #71102B #A71840 #DD2055 #E6537C

Accessibility & contrast

On white

7.37
#A71840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A71840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71840
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71840#FFFFFF#000000##FFFFFF
##A718401.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71840;
/* rgb */ color: rgb(167, 24, 64);
/* oklch */ color: oklch(47.5% 0.175 12.5);
Tailwind
colors: {
  custom: {
    50: '#c96874',
    500: '#a71840',
    950: '#000000',
  },
}
SCSS
$custom: #a71840;
$custom-light: #c96874;
$custom-dark: #000000;
JSON
{
  "hex": "#a71840",
  "rgb": {
    "r": 167,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 343.217,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.17516,
    "h": 12.5
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#A71840
secondary
#52C9A8
accent
#F1BD36
background
#FDF6F7
surface
#FAEBED
border
#D3C6C8
text
#150708
muted
#837A7B

Preview Lab

Preview with #A71840

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

Preview Lab → · Contrast checker → · Palette generator →

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