#5A140E#5A140E

#5A140E is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.103 H 29.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#5A140E
RGBrgb(90, 20, 14)
HSLhsl(5, 73%, 20%)
HSVhsv(5, 84%, 35%)
CMYKcmyk(0%, 77.8%, 84.4%, 64.7%)
CIE-LABlab(18.83, 31.38, 22.47)
CIE-LCHlch(18.83, 38.60, 35.60°)
OKLaboklab(31.23% 0.0897 0.05)
OKLCHoklch(31.23% 0.103 29.1)
XYZxyz(4.5464, 2.7064, 0.6984)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A140E #0E545A
analogous
#5A0E2E #5A140E #5A3A0E
triadic
#5A140E #0E5A14 #140E5A
tetradic
#5A140E #2E5A0E #0E545A #3A0E5A
square
#5A140E #2E5A0E #0E545A #3A0E5A
split-complementary
#5A140E #0E5A3A #0E2E5A
monochromatic
#1A0604 #250806 #5A140E #8F2016 #C42C1E

Accessibility & contrast

On white

13.63
#5A140E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A140E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A140E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A140E#FFFFFF#000000##FFFFFF
##5A140E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240D
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a140e;
/* rgb */ color: rgb(90, 20, 14);
/* oklch */ color: oklch(31.2% 0.103 29.1);
Tailwind
colors: {
  custom: {
    50: '#8f574d',
    500: '#5a140e',
    950: '#000000',
  },
}
SCSS
$custom: #5a140e;
$custom-light: #8f574d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a140e",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 14
  },
  "hsl": {
    "h": 4.737,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31229,
    "c": 0.1027,
    "h": 29.1
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#5A140E
secondary
#308C94
accent
#E1F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A140E

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

Preview Lab → · Contrast checker → · Palette generator →

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