#57271A#57271A

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

Color values

HEX#57271A
RGBrgb(87, 39, 26)
HSLhsl(13, 54%, 22%)
HSVhsv(13, 70%, 34%)
CMYKcmyk(0%, 55.2%, 70.1%, 65.9%)
CIE-LABlab(22.13, 21.00, 18.81)
CIE-LCHlch(22.13, 28.19, 41.85°)
OKLaboklab(33.67% 0.0604 0.0441)
OKLCHoklch(33.67% 0.075 36.1)
XYZxyz(4.8429, 3.5524, 1.4077)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57271A #1A4A57
analogous
#571A2C #57271A #57461A
triadic
#57271A #1A5727 #271A57
tetradic
#57271A #2C571A #1A4A57 #461A57
square
#57271A #2C571A #1A4A57 #461A57
split-complementary
#57271A #1A5746 #1A2C57
monochromatic
#180B07 #28120C #57271A #863C28 #B55136

Accessibility & contrast

On white

12.28
#57271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57271A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57271A#FFFFFF#000000##FFFFFF
##57271A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#3F3919
Tritanopia (blue-blind)
#601E24
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57271a;
/* rgb */ color: rgb(87, 39, 26);
/* oklch */ color: oklch(33.7% 0.075 36.1);
Tailwind
colors: {
  custom: {
    50: '#8a6256',
    500: '#57271a',
    950: '#000000',
  },
}
SCSS
$custom: #57271a;
$custom-light: #8a6256;
$custom-dark: #000000;
JSON
{
  "hex": "#57271a",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 12.787,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33666,
    "c": 0.07479,
    "h": 36.1
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#57271A
secondary
#407D8D
accent
#BEDD4A
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #57271A

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

Preview Lab → · Contrast checker → · Palette generator →

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