#540E0D#540E0D

#540E0D is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.102 H 26.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#540E0D
RGBrgb(84, 14, 13)
HSLhsl(1, 73%, 19%)
HSVhsv(1, 85%, 33%)
CMYKcmyk(0%, 83.3%, 84.5%, 67.1%)
CIE-LABlab(16.64, 31.55, 20.03)
CIE-LCHlch(16.64, 37.37, 32.41°)
OKLaboklab(29.36% 0.0908 0.0458)
OKLCHoklch(29.36% 0.102 26.7)
XYZxyz(3.8863, 2.2286, 0.6062)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E0D #0D5354
analogous
#540D30 #540E0D #54320D
triadic
#540E0D #0D540E #0E0D54
tetradic
#540E0D #30540D #0D5354 #320D54
square
#540E0D #30540D #0D5354 #320D54
split-complementary
#540E0D #0D5432 #0D3054
monochromatic
#1A0404 #1F0505 #540E0D #891715 #BE201D

Accessibility & contrast

On white

14.53
#540E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#540E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E0D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E0D#FFFFFF#000000##FFFFFF
##540E0D1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F0C
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#5D000F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e0d;
/* rgb */ color: rgb(84, 14, 13);
/* oklch */ color: oklch(29.4% 0.102 26.7);
Tailwind
colors: {
  custom: {
    50: '#8b544c',
    500: '#540e0d',
    950: '#000000',
  },
}
SCSS
$custom: #540e0d;
$custom-light: #8b544c;
$custom-dark: #000000;
JSON
{
  "hex": "#540e0d",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 13
  },
  "hsl": {
    "h": 0.845,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.10165,
    "h": 26.7
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#540E0D
secondary
#2E8D8F
accent
#EDF038
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540E0D

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

Preview Lab → · Contrast checker → · Palette generator →

#540E0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva