#5A381E#5A381E

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

Color values

HEX#5A381E
RGBrgb(90, 56, 30)
HSLhsl(26, 50%, 24%)
HSVhsv(26, 67%, 35%)
CMYKcmyk(0%, 37.8%, 66.7%, 64.7%)
CIE-LABlab(27.01, 12.21, 22.25)
CIE-LCHlch(27.01, 25.38, 61.24°)
OKLaboklab(37.53% 0.0341 0.0521)
OKLCHoklch(37.53% 0.062 56.8)
XYZxyz(5.8654, 5.0963, 1.9028)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A381E #1E405A
analogous
#5A1E22 #5A381E #5A561E
triadic
#5A381E #1E5A38 #381E5A
tetradic
#5A381E #225A1E #1E405A #561E5A
square
#5A381E #225A1E #1E405A #561E5A
split-complementary
#5A381E #1E5A56 #1E225A
monochromatic
#170E08 #2C1B0F #5A381E #88552D #B6713D

Accessibility & contrast

On white

10.40
#5A381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A381E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A381E#FFFFFF#000000##FFFFFF
##5A381E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1C
Deuteranopia (green-blind)
#4A431E
Tritanopia (blue-blind)
#623132
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5a381e;
/* rgb */ color: rgb(90, 56, 30);
/* oklch */ color: oklch(37.5% 0.062 56.8);
Tailwind
colors: {
  custom: {
    50: '#8c6e5a',
    500: '#5a381e',
    950: '#000000',
  },
}
SCSS
$custom: #5a381e;
$custom-light: #8c6e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a381e",
  "rgb": {
    "r": 90,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 26,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.0623,
    "h": 56.8
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#5A381E
secondary
#456F8F
accent
#9DDA4E
background
#F8F6F5
surface
#F0ECE9
border
#CBC7C5
text
#0C0704
muted
#7D7A79

Preview Lab

Preview with #5A381E

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

Preview Lab → · Contrast checker → · Palette generator →

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