#57221B#57221B

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

Color values

HEX#57221B
RGBrgb(87, 34, 27)
HSLhsl(7, 53%, 22%)
HSVhsv(7, 69%, 34%)
CMYKcmyk(0%, 60.9%, 69%, 65.9%)
CIE-LABlab(21.02, 23.97, 16.79)
CIE-LCHlch(21.02, 29.26, 35.00°)
OKLaboklab(32.82% 0.0698 0.0398)
OKLCHoklch(32.82% 0.08 29.7)
XYZxyz(4.7008, 3.2500, 1.4165)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57221B #1B5057
analogous
#571B32 #57221B #57401B
triadic
#57221B #1B5722 #221B57
tetradic
#57221B #32571B #1B5057 #401B57
square
#57221B #32571B #1B5057 #401B57
split-complementary
#57221B #1B5740 #1B3257
monochromatic
#170907 #28100D #57221B #863429 #B44738

Accessibility & contrast

On white

12.73
#57221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57221B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57221B#FFFFFF#000000##FFFFFF
##57221B1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B1A
Deuteranopia (green-blind)
#3D371A
Tritanopia (blue-blind)
#601821
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #57221b;
/* rgb */ color: rgb(87, 34, 27);
/* oklch */ color: oklch(32.8% 0.080 29.7);
Tailwind
colors: {
  custom: {
    50: '#8b5f57',
    500: '#57221b',
    950: '#000000',
  },
}
SCSS
$custom: #57221b;
$custom-light: #8b5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#57221b",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 7,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.08036,
    "h": 29.7
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#57221B
secondary
#41848D
accent
#CBDC4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #57221B

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

Preview Lab → · Contrast checker → · Palette generator →

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