#57271D#57271D

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

Color values

HEX#57271D
RGBrgb(87, 39, 29)
HSLhsl(10, 50%, 23%)
HSVhsv(10, 67%, 34%)
CMYKcmyk(0%, 55.2%, 66.7%, 65.9%)
CIE-LABlab(22.18, 21.23, 16.91)
CIE-LCHlch(22.18, 27.14, 38.54°)
OKLaboklab(33.72% 0.0617 0.0403)
OKLCHoklch(33.72% 0.074 33.1)
XYZxyz(4.8782, 3.5666, 1.5937)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57271D #1D4D57
analogous
#571D30 #57271D #57441D
triadic
#57271D #1D5727 #271D57
tetradic
#57271D #30571D #1D4D57 #441D57
square
#57271D #30571D #1D4D57 #441D57
split-complementary
#57271D #1D5744 #1D3057
monochromatic
#170A08 #29120E #57271D #853C2C #B3503C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57271D#FFFFFF#000000##FFFFFF
##57271D1.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)
#332F1C
Deuteranopia (green-blind)
#3F391C
Tritanopia (blue-blind)
#601E25
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57271d;
/* rgb */ color: rgb(87, 39, 29);
/* oklch */ color: oklch(33.7% 0.074 33.1);
Tailwind
colors: {
  custom: {
    50: '#8a6259',
    500: '#57271d',
    950: '#000000',
  },
}
SCSS
$custom: #57271d;
$custom-light: #8a6259;
$custom-dark: #000000;
JSON
{
  "hex": "#57271d",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 10.345,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.0737,
    "h": 33.1
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#57271D
secondary
#44808C
accent
#C2DA4E
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #57271D

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

Preview Lab → · Contrast checker → · Palette generator →

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