#5A321F#5A321F

#5A321F is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.3% C 0.065 H 45.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#5A321F
RGBrgb(90, 50, 31)
HSLhsl(19, 49%, 24%)
HSVhsv(19, 66%, 35%)
CMYKcmyk(0%, 44.4%, 65.6%, 64.7%)
CIE-LABlab(25.43, 16.06, 19.73)
CIE-LCHlch(25.43, 25.44, 50.86°)
OKLaboklab(36.31% 0.0459 0.0467)
OKLCHoklch(36.31% 0.065 45.5)
XYZxyz(5.6048, 4.5544, 1.8800)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A321F #1F475A
analogous
#5A1F29 #5A321F #5A4F1F
triadic
#5A321F #1F5A32 #321F5A
tetradic
#5A321F #295A1F #1F475A #4F1F5A
square
#5A321F #295A1F #1F475A #4F1F5A
split-complementary
#5A321F #1F5A4F #1F295A
monochromatic
#170D08 #2C190F #5A321F #884B2F #B5653E

Accessibility & contrast

On white

10.99
#5A321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5A321F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A321F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A321F#FFFFFF#000000##FFFFFF
##5A321F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371D
Deuteranopia (green-blind)
#46401F
Tritanopia (blue-blind)
#632B2D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5a321f;
/* rgb */ color: rgb(90, 50, 31);
/* oklch */ color: oklch(36.3% 0.065 45.5);
Tailwind
colors: {
  custom: {
    50: '#8c6a5b',
    500: '#5a321f',
    950: '#000000',
  },
}
SCSS
$custom: #5a321f;
$custom-light: #8c6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a321f",
  "rgb": {
    "r": 90,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 19.322,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36312,
    "c": 0.06549,
    "h": 45.5
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#5A321F
secondary
#46778F
accent
#ACD84F
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0604
muted
#7D7A79

Preview Lab

Preview with #5A321F

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

Preview Lab → · Contrast checker → · Palette generator →

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