#5A1811#5A1811

#5A1811 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.098 H 29.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5A1811
RGBrgb(90, 24, 17)
HSLhsl(6, 68%, 21%)
HSVhsv(6, 81%, 35%)
CMYKcmyk(0%, 73.3%, 81.1%, 64.7%)
CIE-LABlab(19.51, 29.75, 21.63)
CIE-LCHlch(19.51, 36.78, 36.02°)
OKLaboklab(31.75% 0.0853 0.0484)
OKLCHoklch(31.75% 0.098 29.6)
XYZxyz(4.6448, 2.8681, 0.8392)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1811 #11535A
analogous
#5A112E #5A1811 #5A3C11
triadic
#5A1811 #115A18 #18115A
tetradic
#5A1811 #2E5A11 #11535A #3C115A
square
#5A1811 #2E5A11 #11535A #3C115A
split-complementary
#5A1811 #115A3C #112E5A
monochromatic
#1A0705 #270A07 #5A1811 #8D261B #C13324

Accessibility & contrast

On white

13.35
#5A1811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A1811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1811
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1811#FFFFFF#000000##FFFFFF
##5A18111.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2610
Deuteranopia (green-blind)
#3B350F
Tritanopia (blue-blind)
#640417
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1811;
/* rgb */ color: rgb(90, 24, 17);
/* oklch */ color: oklch(31.7% 0.098 29.6);
Tailwind
colors: {
  custom: {
    50: '#8f594f',
    500: '#5a1811',
    950: '#000000',
  },
}
SCSS
$custom: #5a1811;
$custom-light: #8f594f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1811",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 17
  },
  "hsl": {
    "h": 5.753,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.09805,
    "h": 29.6
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#5A1811
secondary
#348A93
accent
#DAEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5A1811

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

Preview Lab → · Contrast checker → · Palette generator →

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