#571A42#571A42

#571A42 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 343.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#571A42
RGBrgb(87, 26, 66)
HSLhsl(321, 54%, 22%)
HSVhsv(321, 70%, 34%)
CMYKcmyk(0%, 70.1%, 24.1%, 65.9%)
CIE-LABlab(20.67, 32.76, -10.64)
CIE-LCHlch(20.67, 34.45, 342.01°)
OKLaboklab(32.96% 0.0984 -0.0283)
OKLCHoklch(32.96% 0.102 343.9)
XYZxyz(5.2834, 3.1589, 5.4847)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571A42 #1A572F
analogous
#4E1A57 #571A42 #571A24
triadic
#571A42 #42571A #1A4257
tetradic
#571A42 #574E1A #1A572F #1A2457
square
#571A42 #574E1A #1A572F #1A2457
split-complementary
#571A42 #24571A #1A574E
monochromatic
#180712 #280C1E #571A42 #862866 #B53689

Accessibility & contrast

On white

12.87
#571A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#571A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571A42
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571A42#FFFFFF#000000##FFFFFF
##571A421.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#323541
Tritanopia (blue-blind)
#5D1A2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571a42;
/* rgb */ color: rgb(87, 26, 66);
/* oklch */ color: oklch(33.0% 0.102 343.9);
Tailwind
colors: {
  custom: {
    50: '#895b76',
    500: '#571a42',
    950: '#000000',
  },
}
SCSS
$custom: #571a42;
$custom-light: #895b76;
$custom-dark: #000000;
JSON
{
  "hex": "#571a42",
  "rgb": {
    "r": 87,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 320.656,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.10244,
    "h": 343.9
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#571A42
secondary
#408D5A
accent
#DD7D4A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #571A42

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

Preview Lab → · Contrast checker → · Palette generator →

#571A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva