#5A140F#5A140F

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

Color values

HEX#5A140F
RGBrgb(90, 20, 15)
HSLhsl(4, 71%, 21%)
HSVhsv(4, 83%, 35%)
CMYKcmyk(0%, 77.8%, 83.3%, 64.7%)
CIE-LABlab(18.84, 31.42, 21.97)
CIE-LCHlch(18.84, 38.34, 34.96°)
OKLaboklab(31.24% 0.0901 0.049)
OKLCHoklch(31.24% 0.103 28.6)
XYZxyz(4.5534, 2.7092, 0.7350)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A140F #0F555A
analogous
#5A0F2F #5A140F #5A390F
triadic
#5A140F #0F5A14 #140F5A
tetradic
#5A140F #2F5A0F #0F555A #390F5A
square
#5A140F #2F5A0F #0F555A #390F5A
split-complementary
#5A140F #0F5A39 #0F2F5A
monochromatic
#1A0604 #260806 #5A140F #8E2018 #C32B20

Accessibility & contrast

On white

13.62
#5A140F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A140F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A140F#FFFFFF#000000##FFFFFF
##5A140F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a140f;
/* rgb */ color: rgb(90, 20, 15);
/* oklch */ color: oklch(31.2% 0.103 28.6);
Tailwind
colors: {
  custom: {
    50: '#8f574e',
    500: '#5a140f',
    950: '#000000',
  },
}
SCSS
$custom: #5a140f;
$custom-light: #8f574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a140f",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 15
  },
  "hsl": {
    "h": 4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31241,
    "c": 0.10252,
    "h": 28.6
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#5A140F
secondary
#318D94
accent
#E2EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A140F

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

Preview Lab → · Contrast checker → · Palette generator →

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