#5A331D#5A331D

#5A331D is a dark, moderate orange. Relative luminance 0.046; OKLCH L 36.5% C 0.066 H 49.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#5A331D
RGBrgb(90, 51, 29)
HSLhsl(22, 51%, 23%)
HSVhsv(22, 68%, 35%)
CMYKcmyk(0%, 43.3%, 67.8%, 64.7%)
CIE-LABlab(25.66, 15.27, 21.25)
CIE-LCHlch(25.66, 26.17, 54.30°)
OKLaboklab(36.48% 0.0432 0.0498)
OKLCHoklch(36.48% 0.066 49.1)
XYZxyz(5.6225, 4.6306, 1.7598)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A331D #1D445A
analogous
#5A1D25 #5A331D #5A511D
triadic
#5A331D #1D5A33 #331D5A
tetradic
#5A331D #255A1D #1D445A #511D5A
square
#5A331D #255A1D #1D445A #511D5A
split-complementary
#5A331D #1D5A51 #1D255A
monochromatic
#170D07 #2C190E #5A331D #884D2C #B7673B

Accessibility & contrast

On white

10.90
#5A331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5A331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A331D
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A331D#FFFFFF#000000##FFFFFF
##5A331D1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381B
Deuteranopia (green-blind)
#47401D
Tritanopia (blue-blind)
#632B2E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a331d;
/* rgb */ color: rgb(90, 51, 29);
/* oklch */ color: oklch(36.5% 0.066 49.1);
Tailwind
colors: {
  custom: {
    50: '#8c6b59',
    500: '#5a331d',
    950: '#000000',
  },
}
SCSS
$custom: #5a331d;
$custom-light: #8c6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a331d",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 21.639,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36479,
    "c": 0.0659,
    "h": 49.1
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#5A331D
secondary
#44748F
accent
#A8DB4D
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #5A331D

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

Preview Lab → · Contrast checker → · Palette generator →

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