#5A381A#5A381A

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

Color values

HEX#5A381A
RGBrgb(90, 56, 26)
HSLhsl(28, 55%, 23%)
HSVhsv(28, 71%, 35%)
CMYKcmyk(0%, 37.8%, 71.1%, 64.7%)
CIE-LABlab(26.95, 11.90, 24.56)
CIE-LCHlch(26.95, 27.29, 64.14°)
OKLaboklab(37.47% 0.0325 0.0565)
OKLCHoklch(37.47% 0.065 60.1)
XYZxyz(5.8175, 5.0771, 1.6507)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A381A #1A3C5A
analogous
#5A1A1C #5A381A #5A581A
triadic
#5A381A #1A5A38 #381A5A
tetradic
#5A381A #1C5A1A #1A3C5A #581A5A
square
#5A381A #1C5A1A #1A3C5A #581A5A
split-complementary
#5A381A #1A5A58 #1A1C5A
monochromatic
#180F07 #2B1A0C #5A381A #895628 #B97335

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A381A#FFFFFF#000000##FFFFFF
##5A381A1.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)
#423B17
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#633131
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5a381a;
/* rgb */ color: rgb(90, 56, 26);
/* oklch */ color: oklch(37.5% 0.065 60.1);
Tailwind
colors: {
  custom: {
    50: '#8c6e57',
    500: '#5a381a',
    950: '#000000',
  },
}
SCSS
$custom: #5a381a;
$custom-light: #8c6e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5a381a",
  "rgb": {
    "r": 90,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 28.125,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.37469,
    "c": 0.06519,
    "h": 60.1
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#5A381A
secondary
#406A90
accent
#99DF49
background
#F8F6F5
surface
#F0ECE9
border
#CBC7C5
text
#0C0703
muted
#7D7A78

Preview Lab

Preview with #5A381A

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

Preview Lab → · Contrast checker → · Palette generator →

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