#5A1B0E#5A1B0E

#5A1B0E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.096 H 33.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#5A1B0E
RGBrgb(90, 27, 14)
HSLhsl(10, 73%, 20%)
HSVhsv(10, 84%, 35%)
CMYKcmyk(0%, 70%, 84.4%, 64.7%)
CIE-LABlab(20.00, 28.18, 23.82)
CIE-LCHlch(20.00, 36.90, 40.21°)
OKLaboklab(32.11% 0.0797 0.0527)
OKLCHoklch(32.11% 0.096 33.4)
XYZxyz(4.6882, 2.9899, 0.7456)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1B0E #0E4D5A
analogous
#5A0E27 #5A1B0E #5A410E
triadic
#5A1B0E #0E5A1B #1B0E5A
tetradic
#5A1B0E #275A0E #0E4D5A #410E5A
square
#5A1B0E #275A0E #0E4D5A #410E5A
split-complementary
#5A1B0E #0E5A41 #0E275A
monochromatic
#1A0804 #250B06 #5A1B0E #8F2B16 #C43B1E

Accessibility & contrast

On white

13.14
#5A1B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A1B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1B0E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1B0E#FFFFFF#000000##FFFFFF
##5A1B0E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#3D350C
Tritanopia (blue-blind)
#640918
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1b0e;
/* rgb */ color: rgb(90, 27, 14);
/* oklch */ color: oklch(32.1% 0.096 33.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b4d',
    500: '#5a1b0e',
    950: '#000000',
  },
}
SCSS
$custom: #5a1b0e;
$custom-light: #8f5b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1b0e",
  "rgb": {
    "r": 90,
    "g": 27,
    "b": 14
  },
  "hsl": {
    "h": 10.263,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.09552,
    "h": 33.4
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#5A1B0E
secondary
#308394
accent
#D0F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5A1B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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