#5A1D0E#5A1D0E

#5A1D0E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.093 H 34.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5A1D0E
RGBrgb(90, 29, 14)
HSLhsl(12, 73%, 20%)
HSVhsv(12, 84%, 35%)
CMYKcmyk(0%, 67.8%, 84.4%, 64.7%)
CIE-LABlab(20.38, 27.17, 24.25)
CIE-LCHlch(20.38, 36.42, 41.74°)
OKLaboklab(32.39% 0.0766 0.0535)
OKLCHoklch(32.39% 0.093 34.9)
XYZxyz(4.7356, 3.0848, 0.7614)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1D0E #0E4B5A
analogous
#5A0E25 #5A1D0E #5A430E
triadic
#5A1D0E #0E5A1D #1D0E5A
tetradic
#5A1D0E #255A0E #0E4B5A #430E5A
square
#5A1D0E #255A0E #0E4B5A #430E5A
split-complementary
#5A1D0E #0E5A43 #0E255A
monochromatic
#1A0904 #250C06 #5A1D0E #8F2E16 #C43F1E

Accessibility & contrast

On white

12.99
#5A1D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5A1D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1D0E
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1D0E#FFFFFF#000000##FFFFFF
##5A1D0E1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1d0e;
/* rgb */ color: rgb(90, 29, 14);
/* oklch */ color: oklch(32.4% 0.093 34.9);
Tailwind
colors: {
  custom: {
    50: '#8f5c4d',
    500: '#5a1d0e',
    950: '#000000',
  },
}
SCSS
$custom: #5a1d0e;
$custom-light: #8f5c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1d0e",
  "rgb": {
    "r": 90,
    "g": 29,
    "b": 14
  },
  "hsl": {
    "h": 11.842,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32394,
    "c": 0.09341,
    "h": 34.9
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#5A1D0E
secondary
#308094
accent
#CBF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #5A1D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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