#57271E#57271E

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

Color values

HEX#57271E
RGBrgb(87, 39, 30)
HSLhsl(9, 49%, 23%)
HSVhsv(9, 66%, 34%)
CMYKcmyk(0%, 55.2%, 65.5%, 65.9%)
CIE-LABlab(22.20, 21.31, 16.27)
CIE-LCHlch(22.20, 26.81, 37.36°)
OKLaboklab(33.74% 0.0622 0.039)
OKLCHoklch(33.74% 0.073 32.1)
XYZxyz(4.8908, 3.5716, 1.6599)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57271E #1E4E57
analogous
#571E31 #57271E #57431E
triadic
#57271E #1E5727 #271E57
tetradic
#57271E #31571E #1E4E57 #431E57
square
#57271E #31571E #1E4E57 #431E57
split-complementary
#57271E #1E5743 #1E3157
monochromatic
#170A08 #29130E #57271E #853B2E #B2503D

Accessibility & contrast

On white

12.25
#57271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57271E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57271E#FFFFFF#000000##FFFFFF
##57271E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#601E25
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57271e;
/* rgb */ color: rgb(87, 39, 30);
/* oklch */ color: oklch(33.7% 0.073 32.1);
Tailwind
colors: {
  custom: {
    50: '#8a625a',
    500: '#57271e',
    950: '#000000',
  },
}
SCSS
$custom: #57271e;
$custom-light: #8a625a;
$custom-dark: #000000;
JSON
{
  "hex": "#57271e",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 9.474,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3374,
    "c": 0.07337,
    "h": 32.1
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#57271E
secondary
#45818C
accent
#C3D850
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #57271E

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

Preview Lab → · Contrast checker → · Palette generator →

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