#57271F#57271F

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

Color values

HEX#57271F
RGBrgb(87, 39, 31)
HSLhsl(9, 47%, 23%)
HSVhsv(9, 64%, 34%)
CMYKcmyk(0%, 55.2%, 64.4%, 65.9%)
CIE-LABlab(22.22, 21.40, 15.63)
CIE-LCHlch(22.22, 26.50, 36.16°)
OKLaboklab(33.76% 0.0626 0.0376)
OKLCHoklch(33.76% 0.073 31)
XYZxyz(4.9037, 3.5768, 1.7282)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57271F #1F4F57
analogous
#571F33 #57271F #57431F
triadic
#57271F #1F5727 #271F57
tetradic
#57271F #33571F #1F4F57 #431F57
square
#57271F #33571F #1F4F57 #431F57
split-complementary
#57271F #1F5743 #1F3357
monochromatic
#170A08 #2A130F #57271F #843B2F #B14F3F

Accessibility & contrast

On white

12.24
#57271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#57271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57271F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57271F#FFFFFF#000000##FFFFFF
##57271F1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3F391E
Tritanopia (blue-blind)
#5F1F25
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57271f;
/* rgb */ color: rgb(87, 39, 31);
/* oklch */ color: oklch(33.8% 0.073 31.0);
Tailwind
colors: {
  custom: {
    50: '#8a625a',
    500: '#57271f',
    950: '#000000',
  },
}
SCSS
$custom: #57271f;
$custom-light: #8a625a;
$custom-dark: #000000;
JSON
{
  "hex": "#57271f",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 8.571,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3376,
    "c": 0.07305,
    "h": 31
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#57271F
secondary
#46828C
accent
#C4D751
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979

Preview Lab

Preview with #57271F

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

Preview Lab → · Contrast checker → · Palette generator →

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