#5A321C#5A321C

#5A321C is a dark, moderate orange. Relative luminance 0.045; OKLCH L 36.3% C 0.067 H 48.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#5A321C
RGBrgb(90, 50, 28)
HSLhsl(21, 53%, 23%)
HSVhsv(21, 69%, 35%)
CMYKcmyk(0%, 44.4%, 68.9%, 64.7%)
CIE-LABlab(25.38, 15.82, 21.54)
CIE-LCHlch(25.38, 26.72, 53.71°)
OKLaboklab(36.26% 0.0446 0.0503)
OKLCHoklch(36.26% 0.067 48.4)
XYZxyz(5.5671, 4.5393, 1.6814)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A321C #1C445A
analogous
#5A1C25 #5A321C #5A511C
triadic
#5A321C #1C5A32 #321C5A
tetradic
#5A321C #255A1C #1C445A #511C5A
square
#5A321C #255A1C #1C445A #511C5A
split-complementary
#5A321C #1C5A51 #1C255A
monochromatic
#170D07 #2B180D #5A321C #894C2B #B76639

Accessibility & contrast

On white

11.01
#5A321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A321C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A321C#FFFFFF#000000##FFFFFF
##5A321C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371A
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#632A2D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5a321c;
/* rgb */ color: rgb(90, 50, 28);
/* oklch */ color: oklch(36.3% 0.067 48.4);
Tailwind
colors: {
  custom: {
    50: '#8c6a59',
    500: '#5a321c',
    950: '#000000',
  },
}
SCSS
$custom: #5a321c;
$custom-light: #8c6a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a321c",
  "rgb": {
    "r": 90,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 21.29,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36262,
    "c": 0.06724,
    "h": 48.4
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#5A321C
secondary
#42748F
accent
#A9DC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #5A321C

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

Preview Lab → · Contrast checker → · Palette generator →

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