#5A2813#5A2813

#5A2813 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 34.2% C 0.080 H 42.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#5A2813
RGBrgb(90, 40, 19)
HSLhsl(18, 65%, 21%)
HSVhsv(18, 79%, 35%)
CMYKcmyk(0%, 55.6%, 78.9%, 64.7%)
CIE-LABlab(22.79, 21.31, 24.05)
CIE-LCHlch(22.79, 32.13, 48.45°)
OKLaboklab(34.24% 0.0596 0.054)
OKLCHoklch(34.24% 0.08 42.2)
XYZxyz(5.0933, 3.7389, 1.0694)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2813 #13455A
analogous
#5A1322 #5A2813 #5A4C13
triadic
#5A2813 #135A28 #28135A
tetradic
#5A2813 #225A13 #13455A #4C135A
square
#5A2813 #225A13 #13455A #4C135A
split-complementary
#5A2813 #135A4C #13225A
monochromatic
#190B05 #271208 #5A2813 #8D3E1E #BF5528

Accessibility & contrast

On white

12.02
#5A2813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5A2813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2813
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2813#FFFFFF#000000##FFFFFF
##5A28131.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363011
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#631E23
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a2813;
/* rgb */ color: rgb(90, 40, 19);
/* oklch */ color: oklch(34.2% 0.080 42.2);
Tailwind
colors: {
  custom: {
    50: '#8e6351',
    500: '#5a2813',
    950: '#000000',
  },
}
SCSS
$custom: #5a2813;
$custom-light: #8e6351;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2813",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 17.746,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34238,
    "c": 0.0804,
    "h": 42.2
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#5A2813
secondary
#377792
accent
#B6E840
background
#F9F5F4
surface
#F1EAE7
border
#CBC6C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A2813

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

Preview Lab → · Contrast checker → · Palette generator →

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