#571F2B#571F2B

#571F2B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.7% C 0.083 H 9.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#571F2B
RGBrgb(87, 31, 43)
HSLhsl(347, 47%, 23%)
HSVhsv(347, 64%, 34%)
CMYKcmyk(0%, 64.4%, 50.6%, 65.9%)
CIE-LABlab(20.76, 27.11, 5.46)
CIE-LCHlch(20.76, 27.66, 11.39°)
OKLaboklab(32.75% 0.0823 0.0142)
OKLCHoklch(32.75% 0.083 9.8)
XYZxyz(4.8569, 3.1812, 2.6433)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571F2B #1F574B
analogous
#571F47 #571F2B #572F1F
triadic
#571F2B #2B571F #1F2B57
tetradic
#571F2B #47571F #1F574B #2F1F57
square
#571F2B #47571F #1F574B #2F1F57
split-complementary
#571F2B #1F572F #1F4757
monochromatic
#17080B #2A0F15 #571F2B #842F41 #B13F58

Accessibility & contrast

On white

12.83
#571F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #571F2B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571F2B#FFFFFF#000000##FFFFFF
##571F2B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#5F1724
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #571f2b;
/* rgb */ color: rgb(87, 31, 43);
/* oklch */ color: oklch(32.7% 0.083 9.8);
Tailwind
colors: {
  custom: {
    50: '#8a5e64',
    500: '#571f2b',
    950: '#000000',
  },
}
SCSS
$custom: #571f2b;
$custom-light: #8a5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#571f2b",
  "rgb": {
    "r": 87,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 347.143,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.08349,
    "h": 9.8
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#571F2B
secondary
#468C7D
accent
#D7BA51
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #571F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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