#571B42#571B42

#571B42 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.101 H 344.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#571B42
RGBrgb(87, 27, 66)
HSLhsl(321, 53%, 22%)
HSVhsv(321, 69%, 34%)
CMYKcmyk(0%, 69%, 24.1%, 65.9%)
CIE-LABlab(20.84, 32.29, -10.37)
CIE-LCHlch(20.84, 33.91, 342.19°)
OKLaboklab(33.09% 0.097 -0.0276)
OKLCHoklch(33.09% 0.101 344.1)
XYZxyz(5.3060, 3.2040, 5.4922)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B42 #1B5730
analogous
#4E1B57 #571B42 #571B24
triadic
#571B42 #42571B #1B4257
tetradic
#571B42 #574E1B #1B5730 #1B2457
square
#571B42 #574E1B #1B5730 #1B2457
split-complementary
#571B42 #24571B #1B574E
monochromatic
#170712 #280D1F #571B42 #862965 #B43889

Accessibility & contrast

On white

12.80
#571B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#571B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B42
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B42#FFFFFF#000000##FFFFFF
##571B421.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#323641
Tritanopia (blue-blind)
#5D1B2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571b42;
/* rgb */ color: rgb(87, 27, 66);
/* oklch */ color: oklch(33.1% 0.101 344.1);
Tailwind
colors: {
  custom: {
    50: '#895c76',
    500: '#571b42',
    950: '#000000',
  },
}
SCSS
$custom: #571b42;
$custom-light: #895c76;
$custom-dark: #000000;
JSON
{
  "hex": "#571b42",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 321,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33086,
    "c": 0.10084,
    "h": 344.1
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#571B42
secondary
#418D5C
accent
#DC7E4C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #571B42

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

Preview Lab → · Contrast checker → · Palette generator →

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