#5A1C0E#5A1C0E

#5A1C0E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.094 H 34.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5A1C0E
RGBrgb(90, 28, 14)
HSLhsl(11, 73%, 20%)
HSVhsv(11, 84%, 35%)
CMYKcmyk(0%, 68.9%, 84.4%, 64.7%)
CIE-LABlab(20.19, 27.68, 24.03)
CIE-LCHlch(20.19, 36.66, 40.97°)
OKLaboklab(32.25% 0.0782 0.0531)
OKLCHoklch(32.25% 0.094 34.2)
XYZxyz(4.7115, 3.0366, 0.7534)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1C0E #0E4C5A
analogous
#5A0E26 #5A1C0E #5A420E
triadic
#5A1C0E #0E5A1C #1C0E5A
tetradic
#5A1C0E #265A0E #0E4C5A #420E5A
square
#5A1C0E #265A0E #0E4C5A #420E5A
split-complementary
#5A1C0E #0E5A42 #0E265A
monochromatic
#1A0804 #250C06 #5A1C0E #8F2C16 #C43D1E

Accessibility & contrast

On white

13.07
#5A1C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5A1C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1C0E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1C0E#FFFFFF#000000##FFFFFF
##5A1C0E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280C
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#640B19
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1c0e;
/* rgb */ color: rgb(90, 28, 14);
/* oklch */ color: oklch(32.3% 0.094 34.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b4d',
    500: '#5a1c0e',
    950: '#000000',
  },
}
SCSS
$custom: #5a1c0e;
$custom-light: #8f5b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1c0e",
  "rgb": {
    "r": 90,
    "g": 28,
    "b": 14
  },
  "hsl": {
    "h": 11.053,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.09447,
    "h": 34.2
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5A1C0E
secondary
#308294
accent
#CEF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5A1C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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