#5D271C#5D271C

#5D271C is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.7% C 0.082 H 33.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5D271C
RGBrgb(93, 39, 28)
HSLhsl(10, 54%, 24%)
HSVhsv(10, 70%, 36%)
CMYKcmyk(0%, 58.1%, 69.9%, 63.5%)
CIE-LABlab(23.21, 23.79, 19.06)
CIE-LCHlch(23.21, 30.48, 38.71°)
OKLaboklab(34.71% 0.0687 0.0447)
OKLCHoklch(34.71% 0.082 33.1)
XYZxyz(5.4498, 3.8627, 1.5570)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D271C #1C525D
analogous
#5D1C31 #5D271C #5D471C
triadic
#5D271C #1C5D27 #271C5D
tetradic
#5D271C #315D1C #1C525D #471C5D
square
#5D271C #315D1C #1C525D #471C5D
split-complementary
#5D271C #1C5D47 #1C315D
monochromatic
#180A07 #2E130E #5D271C #8C3B2A #BB4E38

Accessibility & contrast

On white

11.85
#5D271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D271C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D271C#FFFFFF#000000##FFFFFF
##5D271C1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#423C1B
Tritanopia (blue-blind)
#661D25
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d271c;
/* rgb */ color: rgb(93, 39, 28);
/* oklch */ color: oklch(34.7% 0.082 33.1);
Tailwind
colors: {
  custom: {
    50: '#8f6358',
    500: '#5d271c',
    950: '#000000',
  },
}
SCSS
$custom: #5d271c;
$custom-light: #8f6358;
$custom-dark: #000000;
JSON
{
  "hex": "#5d271c",
  "rgb": {
    "r": 93,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 10.154,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34705,
    "c": 0.08201,
    "h": 33.1
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#5D271C
secondary
#428592
accent
#C4DD4B
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D271C

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

Preview Lab → · Contrast checker → · Palette generator →

#5D271C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva