#57211F#57211F

#57211F is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.7% C 0.081 H 24.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#57211F
RGBrgb(87, 33, 31)
HSLhsl(2, 47%, 23%)
HSVhsv(2, 64%, 34%)
CMYKcmyk(0%, 62.1%, 64.4%, 65.9%)
CIE-LABlab(20.88, 24.85, 13.92)
CIE-LCHlch(20.88, 28.48, 29.25°)
OKLaboklab(32.74% 0.0734 0.0337)
OKLCHoklch(32.74% 0.081 24.7)
XYZxyz(4.7221, 3.2135, 1.6677)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57211F #1F5557
analogous
#571F39 #57211F #573D1F
triadic
#57211F #1F5721 #211F57
tetradic
#57211F #39571F #1F5557 #3D1F57
square
#57211F #39571F #1F5557 #3D1F57
split-complementary
#57211F #1F573D #1F3957
monochromatic
#170908 #2A100F #57211F #84322F #B1433F

Accessibility & contrast

On white

12.78
#57211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#57211F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57211F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57211F#FFFFFF#000000##FFFFFF
##57211F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#601721
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57211f;
/* rgb */ color: rgb(87, 33, 31);
/* oklch */ color: oklch(32.7% 0.081 24.7);
Tailwind
colors: {
  custom: {
    50: '#8a5e5a',
    500: '#57211f',
    950: '#000000',
  },
}
SCSS
$custom: #57211f;
$custom-light: #8a5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#57211f",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 2.143,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.08075,
    "h": 24.7
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#57211F
secondary
#46898C
accent
#D2D751
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #57211F

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

Preview Lab → · Contrast checker → · Palette generator →

#57211F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva