#571F31#571F31

#571F31 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.085 H 2.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#571F31
RGBrgb(87, 31, 49)
HSLhsl(341, 47%, 23%)
HSVhsv(341, 64%, 34%)
CMYKcmyk(0%, 64.4%, 43.7%, 65.9%)
CIE-LABlab(20.94, 27.83, 1.54)
CIE-LCHlch(20.94, 27.87, 3.17°)
OKLaboklab(32.94% 0.0849 0.0043)
OKLCHoklch(32.94% 0.085 2.9)
XYZxyz(4.9752, 3.2285, 3.2663)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F31 #1F5745
analogous
#571F4D #571F31 #57291F
triadic
#571F31 #31571F #1F3157
tetradic
#571F31 #4D571F #1F5745 #291F57
square
#571F31 #4D571F #1F5745 #291F57
split-complementary
#571F31 #1F5729 #1F4D57
monochromatic
#17080D #2A0F18 #571F31 #842F4A #B13F64

Accessibility & contrast

On white

12.76
#571F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#571F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571F31
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F31#FFFFFF#000000##FFFFFF
##571F311.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292C31
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#5E1926
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571f31;
/* rgb */ color: rgb(87, 31, 49);
/* oklch */ color: oklch(32.9% 0.085 2.9);
Tailwind
colors: {
  custom: {
    50: '#895e68',
    500: '#571f31',
    950: '#000000',
  },
}
SCSS
$custom: #571f31;
$custom-light: #895e68;
$custom-dark: #000000;
JSON
{
  "hex": "#571f31",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 340.714,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.08496,
    "h": 2.9
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#571F31
secondary
#468C75
accent
#D7AC51
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #571F31

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

Preview Lab → · Contrast checker → · Palette generator →

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