#5A381B#5A381B

#5A381B is a dark, moderate orange. Relative luminance 0.051; OKLCH L 37.5% C 0.064 H 59.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#5A381B
RGBrgb(90, 56, 27)
HSLhsl(28, 54%, 23%)
HSVhsv(28, 70%, 35%)
CMYKcmyk(0%, 37.8%, 70%, 64.7%)
CIE-LABlab(26.97, 11.98, 23.99)
CIE-LCHlch(26.97, 26.81, 63.47°)
OKLaboklab(37.48% 0.0329 0.0555)
OKLCHoklch(37.48% 0.064 59.3)
XYZxyz(5.8289, 5.0817, 1.7106)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A381B #1B3D5A
analogous
#5A1B1D #5A381B #5A571B
triadic
#5A381B #1B5A38 #381B5A
tetradic
#5A381B #1D5A1B #1B3D5A #571B5A
square
#5A381B #1D5A1B #1B3D5A #571B5A
split-complementary
#5A381B #1B5A57 #1B1D5A
monochromatic
#180F07 #2B1B0D #5A381B #895529 #B87337

Accessibility & contrast

On white

10.42
#5A381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#5A381B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A381B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A381B#FFFFFF#000000##FFFFFF
##5A381B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#623131
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5a381b;
/* rgb */ color: rgb(90, 56, 27);
/* oklch */ color: oklch(37.5% 0.064 59.3);
Tailwind
colors: {
  custom: {
    50: '#8c6e58',
    500: '#5a381b',
    950: '#000000',
  },
}
SCSS
$custom: #5a381b;
$custom-light: #8c6e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a381b",
  "rgb": {
    "r": 90,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 27.619,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.06447,
    "h": 59.3
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#5A381B
secondary
#416C90
accent
#9ADD4B
background
#F8F6F5
surface
#F0ECE9
border
#CBC7C5
text
#0C0703
muted
#7D7A78

Preview Lab

Preview with #5A381B

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

Preview Lab → · Contrast checker → · Palette generator →

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