#540E10#540E10

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

Color values

HEX#540E10
RGBrgb(84, 14, 16)
HSLhsl(358, 71%, 19%)
HSVhsv(358, 83%, 33%)
CMYKcmyk(0%, 83.3%, 81%, 67.1%)
CIE-LABlab(16.68, 31.68, 18.52)
CIE-LCHlch(16.68, 36.70, 30.31°)
OKLaboklab(29.4% 0.0919 0.0424)
OKLCHoklch(29.4% 0.101 24.8)
XYZxyz(3.9072, 2.2369, 0.7161)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E10 #0E5452
analogous
#540E33 #540E10 #542F0E
triadic
#540E10 #10540E #0E1054
tetradic
#540E10 #33540E #0E5452 #2F0E54
square
#540E10 #33540E #0E5452 #2F0E54
split-complementary
#540E10 #0E542F #0E3354
monochromatic
#1A0405 #200506 #540E10 #88171A #BD1F24

Accessibility & contrast

On white

14.51
#540E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E10
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E10#FFFFFF#000000##FFFFFF
##540E101.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23200F
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5D0010
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e10;
/* rgb */ color: rgb(84, 14, 16);
/* oklch */ color: oklch(29.4% 0.101 24.8);
Tailwind
colors: {
  custom: {
    50: '#8b544e',
    500: '#540e10',
    950: '#000000',
  },
}
SCSS
$custom: #540e10;
$custom-light: #8b544e;
$custom-dark: #000000;
JSON
{
  "hex": "#540e10",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 16
  },
  "hsl": {
    "h": 358.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29402,
    "c": 0.10124,
    "h": 24.8
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#540E10
secondary
#2F8E8C
accent
#EEE93A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540E10

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

Preview Lab → · Contrast checker → · Palette generator →

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