#571B23#571B23

#571B23 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.089 H 15.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#571B23
RGBrgb(87, 27, 35)
HSLhsl(352, 53%, 22%)
HSVhsv(352, 69%, 34%)
CMYKcmyk(0%, 69%, 59.8%, 65.9%)
CIE-LABlab(19.77, 28.38, 9.69)
CIE-LCHlch(19.77, 29.98, 18.85°)
OKLaboklab(31.94% 0.0852 0.0241)
OKLCHoklch(31.94% 0.089 15.8)
XYZxyz(4.6262, 2.9321, 1.9121)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571B23 #1B574F
analogous
#571B41 #571B23 #57311B
triadic
#571B23 #23571B #1B2357
tetradic
#571B23 #41571B #1B574F #311B57
square
#571B23 #41571B #1B574F #311B57
split-complementary
#571B23 #1B5731 #1B4157
monochromatic
#170709 #280D10 #571B23 #862936 #B43849

Accessibility & contrast

On white

13.24
#571B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#571B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571B23
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571B23#FFFFFF#000000##FFFFFF
##571B231.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292823
Deuteranopia (green-blind)
#393422
Tritanopia (blue-blind)
#60101E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #571b23;
/* rgb */ color: rgb(87, 27, 35);
/* oklch */ color: oklch(31.9% 0.089 15.8);
Tailwind
colors: {
  custom: {
    50: '#8b5b5d',
    500: '#571b23',
    950: '#000000',
  },
}
SCSS
$custom: #571b23;
$custom-light: #8b5b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#571b23",
  "rgb": {
    "r": 87,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 352,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31939,
    "c": 0.08859,
    "h": 15.8
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#571B23
secondary
#418D83
accent
#DCC94C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #571B23

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

Preview Lab → · Contrast checker → · Palette generator →

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