#540E13#540E13

#540E13 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.5% C 0.101 H 22.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#540E13
RGBrgb(84, 14, 19)
HSLhsl(356, 71%, 19%)
HSVhsv(356, 83%, 33%)
CMYKcmyk(0%, 83.3%, 77.4%, 67.1%)
CIE-LABlab(16.73, 31.83, 16.79)
CIE-LCHlch(16.73, 35.99, 27.82°)
OKLaboklab(29.45% 0.0932 0.0387)
OKLCHoklch(29.45% 0.101 22.6)
XYZxyz(3.9312, 2.2465, 0.8426)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E13 #0E544F
analogous
#540E36 #540E13 #542C0E
triadic
#540E13 #13540E #0E1354
tetradic
#540E13 #36540E #0E544F #2C0E54
square
#540E13 #36540E #0E544F #2C0E54
split-complementary
#540E13 #0E542C #0E3654
monochromatic
#1A0406 #200507 #540E13 #88171F #BD1F2B

Accessibility & contrast

On white

14.49
#540E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E13
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E13#FFFFFF#000000##FFFFFF
##540E131.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232013
Deuteranopia (green-blind)
#342F11
Tritanopia (blue-blind)
#5D0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e13;
/* rgb */ color: rgb(84, 14, 19);
/* oklch */ color: oklch(29.5% 0.101 22.6);
Tailwind
colors: {
  custom: {
    50: '#8a5450',
    500: '#540e13',
    950: '#000000',
  },
}
SCSS
$custom: #540e13;
$custom-light: #8a5450;
$custom-dark: #000000;
JSON
{
  "hex": "#540e13",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 19
  },
  "hsl": {
    "h": 355.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29452,
    "c": 0.1009,
    "h": 22.6
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#540E13
secondary
#2F8E88
accent
#EEE13A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540E13

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

Preview Lab → · Contrast checker → · Palette generator →

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