#5A331F#5A331F

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

Color values

HEX#5A331F
RGBrgb(90, 51, 31)
HSLhsl(20, 49%, 24%)
HSVhsv(20, 66%, 35%)
CMYKcmyk(0%, 43.3%, 65.6%, 64.7%)
CIE-LABlab(25.69, 15.43, 20.05)
CIE-LCHlch(25.69, 25.30, 52.41°)
OKLaboklab(36.51% 0.044 0.0474)
OKLCHoklch(36.51% 0.065 47.1)
XYZxyz(5.6480, 4.6408, 1.8944)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A331F #1F465A
analogous
#5A1F28 #5A331F #5A501F
triadic
#5A331F #1F5A33 #331F5A
tetradic
#5A331F #285A1F #1F465A #501F5A
square
#5A331F #285A1F #1F465A #501F5A
split-complementary
#5A331F #1F5A50 #1F285A
monochromatic
#170D08 #2C190F #5A331F #884D2F #B5673E

Accessibility & contrast

On white

10.89
#5A331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A331F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A331F#FFFFFF#000000##FFFFFF
##5A331F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#47401F
Tritanopia (blue-blind)
#622C2E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5a331f;
/* rgb */ color: rgb(90, 51, 31);
/* oklch */ color: oklch(36.5% 0.065 47.1);
Tailwind
colors: {
  custom: {
    50: '#8c6b5b',
    500: '#5a331f',
    950: '#000000',
  },
}
SCSS
$custom: #5a331f;
$custom-light: #8c6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a331f",
  "rgb": {
    "r": 90,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 20.339,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36512,
    "c": 0.0647,
    "h": 47.1
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#5A331F
secondary
#46768F
accent
#AAD84F
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0C0604
muted
#7D7A79

Preview Lab

Preview with #5A331F

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

Preview Lab → · Contrast checker → · Palette generator →

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