#A71842#A71842

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

Color values

HEX#A71842
RGBrgb(167, 24, 66)
HSLhsl(342, 75%, 37%)
HSVhsv(342, 86%, 65%)
CMYKcmyk(0%, 85.6%, 60.5%, 34.5%)
CIE-LABlab(36.49, 56.83, 14.25)
CIE-LCHlch(36.49, 58.59, 14.08°)
OKLaboklab(47.5% 0.1718 0.0352)
OKLCHoklch(47.5% 0.175 11.6)
XYZxyz(17.2482, 9.2647, 6.0333)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71842 #18A77D
analogous
#A71889 #A71842 #A73618
triadic
#A71842 #42A718 #1842A7
tetradic
#A71842 #89A718 #18A77D #3618A7
square
#A71842 #89A718 #18A77D #3618A7
split-complementary
#A71842 #18A736 #1889A7
monochromatic
#3C0918 #71102D #A71842 #DD2057 #E6537E

Accessibility & contrast

On white

7.36
#A71842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71842
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71842#FFFFFF#000000##FFFFFF
##A718421.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71842;
/* rgb */ color: rgb(167, 24, 66);
/* oklch */ color: oklch(47.5% 0.175 11.6);
Tailwind
colors: {
  custom: {
    50: '#c86876',
    500: '#a71842',
    950: '#000000',
  },
}
SCSS
$custom: #a71842;
$custom-light: #c86876;
$custom-dark: #000000;
JSON
{
  "hex": "#a71842",
  "rgb": {
    "r": 167,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 342.378,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.17537,
    "h": 11.6
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#A71842
secondary
#52C9A6
accent
#F1BB36
background
#FDF6F7
surface
#FAEBED
border
#D3C6C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71842

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

Preview Lab → · Contrast checker → · Palette generator →

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