#57221C#57221C

#57221C is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.8% C 0.080 H 28.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#57221C
RGBrgb(87, 34, 28)
HSLhsl(6, 51%, 23%)
HSVhsv(6, 68%, 34%)
CMYKcmyk(0%, 60.9%, 67.8%, 65.9%)
CIE-LABlab(21.04, 24.05, 16.14)
CIE-LCHlch(21.04, 28.96, 33.87°)
OKLaboklab(32.85% 0.0703 0.0384)
OKLCHoklch(32.85% 0.08 28.7)
XYZxyz(4.7125, 3.2547, 1.4784)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57221C #1C5157
analogous
#571C33 #57221C #57401C
triadic
#57221C #1C5722 #221C57
tetradic
#57221C #33571C #1C5157 #401C57
square
#57221C #33571C #1C5157 #401C57
split-complementary
#57221C #1C5740 #1C3357
monochromatic
#170907 #29100D #57221C #85342B #B4463A

Accessibility & contrast

On white

12.72
#57221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#57221C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57221C
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57221C#FFFFFF#000000##FFFFFF
##57221C1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#3D371B
Tritanopia (blue-blind)
#601821
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #57221c;
/* rgb */ color: rgb(87, 34, 28);
/* oklch */ color: oklch(32.8% 0.080 28.7);
Tailwind
colors: {
  custom: {
    50: '#8b5f58',
    500: '#57221c',
    950: '#000000',
  },
}
SCSS
$custom: #57221c;
$custom-light: #8b5f58;
$custom-dark: #000000;
JSON
{
  "hex": "#57221c",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 6.102,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.0801,
    "h": 28.7
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#57221C
secondary
#42858D
accent
#CCDB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #57221C

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

Preview Lab → · Contrast checker → · Palette generator →

#57221C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva