#5A331C#5A331C

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

Color values

HEX#5A331C
RGBrgb(90, 51, 28)
HSLhsl(22, 53%, 23%)
HSVhsv(22, 69%, 35%)
CMYKcmyk(0%, 43.3%, 68.9%, 64.7%)
CIE-LABlab(25.64, 15.19, 21.85)
CIE-LCHlch(25.64, 26.61, 55.18°)
OKLaboklab(36.46% 0.0428 0.051)
OKLCHoklch(36.46% 0.067 50)
XYZxyz(5.6103, 4.6257, 1.6958)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A331C #1C435A
analogous
#5A1C24 #5A331C #5A521C
triadic
#5A331C #1C5A33 #331C5A
tetradic
#5A331C #245A1C #1C435A #521C5A
square
#5A331C #245A1C #1C435A #521C5A
split-complementary
#5A331C #1C5A52 #1C245A
monochromatic
#170D07 #2B190D #5A331C #894D2B #B76839

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A331C#FFFFFF#000000##FFFFFF
##5A331C1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a331c;
/* rgb */ color: rgb(90, 51, 28);
/* oklch */ color: oklch(36.5% 0.067 50.0);
Tailwind
colors: {
  custom: {
    50: '#8c6b59',
    500: '#5a331c',
    950: '#000000',
  },
}
SCSS
$custom: #5a331c;
$custom-light: #8c6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a331c",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 22.258,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.06652,
    "h": 50
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#5A331C
secondary
#42738F
accent
#A6DC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0603
muted
#7D7A78

Preview Lab

Preview with #5A331C

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

Preview Lab → · Contrast checker → · Palette generator →

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