#540E14#540E14

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

Color values

HEX#540E14
RGBrgb(84, 14, 20)
HSLhsl(355, 71%, 19%)
HSVhsv(355, 83%, 33%)
CMYKcmyk(0%, 83.3%, 76.2%, 67.1%)
CIE-LABlab(16.75, 31.89, 16.17)
CIE-LCHlch(16.75, 35.75, 26.89°)
OKLaboklab(29.47% 0.0936 0.0375)
OKLCHoklch(29.47% 0.101 21.8)
XYZxyz(3.9399, 2.2500, 0.8885)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E14 #0E544E
analogous
#540E37 #540E14 #542B0E
triadic
#540E14 #14540E #0E1454
tetradic
#540E14 #37540E #0E544E #2B0E54
square
#540E14 #37540E #0E544E #2B0E54
split-complementary
#540E14 #0E542B #0E3754
monochromatic
#1A0406 #200508 #540E14 #881720 #BD1F2D

Accessibility & contrast

On white

14.48
#540E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E14
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E14#FFFFFF#000000##FFFFFF
##540E141.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540e14;
/* rgb */ color: rgb(84, 14, 20);
/* oklch */ color: oklch(29.5% 0.101 21.8);
Tailwind
colors: {
  custom: {
    50: '#8a5451',
    500: '#540e14',
    950: '#000000',
  },
}
SCSS
$custom: #540e14;
$custom-light: #8a5451;
$custom-dark: #000000;
JSON
{
  "hex": "#540e14",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 20
  },
  "hsl": {
    "h": 354.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2947,
    "c": 0.10081,
    "h": 21.8
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#540E14
secondary
#2F8E86
accent
#EEDF3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540E14

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

Preview Lab → · Contrast checker → · Palette generator →

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