#5A331B#5A331B

#5A331B is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.4% C 0.067 H 50.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#5A331B
RGBrgb(90, 51, 27)
HSLhsl(23, 54%, 23%)
HSVhsv(23, 70%, 35%)
CMYKcmyk(0%, 43.3%, 70%, 64.7%)
CIE-LABlab(25.63, 15.12, 22.44)
CIE-LCHlch(25.63, 27.06, 56.03°)
OKLaboklab(36.45% 0.0423 0.0521)
OKLCHoklch(36.45% 0.067 50.9)
XYZxyz(5.5985, 4.6210, 1.6338)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A331B #1B425A
analogous
#5A1B22 #5A331B #5A521B
triadic
#5A331B #1B5A33 #331B5A
tetradic
#5A331B #225A1B #1B425A #521B5A
square
#5A331B #225A1B #1B425A #521B5A
split-complementary
#5A331B #1B5A52 #1B225A
monochromatic
#180D07 #2B180D #5A331B #894E29 #B86837

Accessibility & contrast

On white

10.91
#5A331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5A331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A331B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A331B#FFFFFF#000000##FFFFFF
##5A331B1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3719
Deuteranopia (green-blind)
#47401B
Tritanopia (blue-blind)
#632B2D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a331b;
/* rgb */ color: rgb(90, 51, 27);
/* oklch */ color: oklch(36.4% 0.067 50.9);
Tailwind
colors: {
  custom: {
    50: '#8c6b58',
    500: '#5a331b',
    950: '#000000',
  },
}
SCSS
$custom: #5a331b;
$custom-light: #8c6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#5a331b",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 22.857,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.06713,
    "h": 50.9
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#5A331B
secondary
#417290
accent
#A5DD4B
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0D0603
muted
#7D7A78

Preview Lab

Preview with #5A331B

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

Preview Lab → · Contrast checker → · Palette generator →

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