#5A371C#5A371C

#5A371C is a dark, moderate orange. Relative luminance 0.050; OKLCH L 37.3% C 0.064 H 56.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#5A371C
RGBrgb(90, 55, 28)
HSLhsl(26, 53%, 23%)
HSVhsv(26, 69%, 35%)
CMYKcmyk(0%, 38.9%, 68.9%, 64.7%)
CIE-LABlab(26.71, 12.68, 23.10)
CIE-LCHlch(26.71, 26.35, 61.23°)
OKLaboklab(37.29% 0.0352 0.0537)
OKLCHoklch(37.29% 0.064 56.8)
XYZxyz(5.7927, 4.9904, 1.7566)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A371C #1C3F5A
analogous
#5A1C20 #5A371C #5A561C
triadic
#5A371C #1C5A37 #371C5A
tetradic
#5A371C #205A1C #1C3F5A #561C5A
square
#5A371C #205A1C #1C3F5A #561C5A
split-complementary
#5A371C #1C5A56 #1C205A
monochromatic
#170E07 #2B1A0D #5A371C #89542B #B77039

Accessibility & contrast

On white

10.51
#5A371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5A371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A371C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A371C#FFFFFF#000000##FFFFFF
##5A371C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#4A421C
Tritanopia (blue-blind)
#623031
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5a371c;
/* rgb */ color: rgb(90, 55, 28);
/* oklch */ color: oklch(37.3% 0.064 56.8);
Tailwind
colors: {
  custom: {
    50: '#8c6e59',
    500: '#5a371c',
    950: '#000000',
  },
}
SCSS
$custom: #5a371c;
$custom-light: #8c6e59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a371c",
  "rgb": {
    "r": 90,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 26.129,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.06418,
    "h": 56.8
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#5A371C
secondary
#426E8F
accent
#9DDC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0703
muted
#7D7A78

Preview Lab

Preview with #5A371C

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

Preview Lab → · Contrast checker → · Palette generator →

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