#57271C#57271C

#57271C is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.7% C 0.074 H 34.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#57271C
RGBrgb(87, 39, 28)
HSLhsl(11, 51%, 23%)
HSVhsv(11, 68%, 34%)
CMYKcmyk(0%, 55.2%, 67.8%, 65.9%)
CIE-LABlab(22.17, 21.15, 17.55)
CIE-LCHlch(22.17, 27.48, 39.68°)
OKLaboklab(33.7% 0.0613 0.0416)
OKLCHoklch(33.7% 0.074 34.2)
XYZxyz(4.8660, 3.5617, 1.5296)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57271C #1C4C57
analogous
#571C2F #57271C #57441C
triadic
#57271C #1C5727 #271C57
tetradic
#57271C #2F571C #1C4C57 #441C57
square
#57271C #2F571C #1C4C57 #441C57
split-complementary
#57271C #1C5744 #1C2F57
monochromatic
#170A07 #29120D #57271C #853C2B #B4513A

Accessibility & contrast

On white

12.26
#57271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#57271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57271C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57271C#FFFFFF#000000##FFFFFF
##57271C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1B
Deuteranopia (green-blind)
#3F391B
Tritanopia (blue-blind)
#601E24
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57271c;
/* rgb */ color: rgb(87, 39, 28);
/* oklch */ color: oklch(33.7% 0.074 34.2);
Tailwind
colors: {
  custom: {
    50: '#8a6258',
    500: '#57271c',
    950: '#000000',
  },
}
SCSS
$custom: #57271c;
$custom-light: #8a6258;
$custom-dark: #000000;
JSON
{
  "hex": "#57271c",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 11.186,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.07405,
    "h": 34.2
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#57271C
secondary
#427F8D
accent
#C0DB4D
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #57271C

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

Preview Lab → · Contrast checker → · Palette generator →

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