#540E16#540E16

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

Color values

HEX#540E16
RGBrgb(84, 14, 22)
HSLhsl(353, 71%, 19%)
HSVhsv(353, 83%, 33%)
CMYKcmyk(0%, 83.3%, 73.8%, 67.1%)
CIE-LABlab(16.78, 32.00, 14.83)
CIE-LCHlch(16.78, 35.27, 24.87°)
OKLaboklab(29.51% 0.0945 0.0348)
OKLCHoklch(29.51% 0.101 20.2)
XYZxyz(3.9585, 2.2574, 0.9862)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E16 #0E544C
analogous
#540E39 #540E16 #54290E
triadic
#540E16 #16540E #0E1654
tetradic
#540E16 #39540E #0E544C #290E54
square
#540E16 #39540E #0E544C #290E54
split-complementary
#540E16 #0E5429 #0E3954
monochromatic
#1A0407 #200508 #540E16 #881724 #BD1F31

Accessibility & contrast

On white

14.47
#540E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E16
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E16#FFFFFF#000000##FFFFFF
##540E161.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232016
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e16;
/* rgb */ color: rgb(84, 14, 22);
/* oklch */ color: oklch(29.5% 0.101 20.2);
Tailwind
colors: {
  custom: {
    50: '#8a5452',
    500: '#540e16',
    950: '#000000',
  },
}
SCSS
$custom: #540e16;
$custom-light: #8a5452;
$custom-dark: #000000;
JSON
{
  "hex": "#540e16",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 22
  },
  "hsl": {
    "h": 353.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29508,
    "c": 0.10067,
    "h": 20.2
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#540E16
secondary
#2F8E84
accent
#EEDA3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540E16

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

Preview Lab → · Contrast checker → · Palette generator →

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