#540E1D#540E1D

#540E1D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.101 H 14.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#540E1D
RGBrgb(84, 14, 29)
HSLhsl(347, 71%, 19%)
HSVhsv(347, 83%, 33%)
CMYKcmyk(0%, 83.3%, 65.5%, 67.1%)
CIE-LABlab(16.93, 32.48, 10.02)
CIE-LCHlch(16.93, 33.99, 17.15°)
OKLaboklab(29.67% 0.0976 0.0246)
OKLCHoklch(29.67% 0.101 14.1)
XYZxyz(4.0354, 2.2882, 1.3913)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E1D #0E5445
analogous
#540E40 #540E1D #54220E
triadic
#540E1D #1D540E #0E1D54
tetradic
#540E1D #40540E #0E5445 #220E54
square
#540E1D #40540E #0E5445 #220E54
split-complementary
#540E1D #0E5422 #0E4054
monochromatic
#1A0409 #20050B #540E1D #88172F #BD1F41

Accessibility & contrast

On white

14.41
#540E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#540E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540E1D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E1D#FFFFFF#000000##FFFFFF
##540E1D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201D
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#5D0014
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e1d;
/* rgb */ color: rgb(84, 14, 29);
/* oklch */ color: oklch(29.7% 0.101 14.1);
Tailwind
colors: {
  custom: {
    50: '#895458',
    500: '#540e1d',
    950: '#000000',
  },
}
SCSS
$custom: #540e1d;
$custom-light: #895458;
$custom-dark: #000000;
JSON
{
  "hex": "#540e1d",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 29
  },
  "hsl": {
    "h": 347.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.10068,
    "h": 14.1
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#540E1D
secondary
#2F8E7A
accent
#EEC73A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #540E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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