#540E18#540E18

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

Color values

HEX#540E18
RGBrgb(84, 14, 24)
HSLhsl(351, 71%, 19%)
HSVhsv(351, 83%, 33%)
CMYKcmyk(0%, 83.3%, 71.4%, 67.1%)
CIE-LABlab(16.82, 32.13, 13.46)
CIE-LCHlch(16.82, 34.84, 22.73°)
OKLaboklab(29.55% 0.0954 0.032)
OKLCHoklch(29.55% 0.101 18.5)
XYZxyz(3.9785, 2.2654, 1.0918)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E18 #0E544A
analogous
#540E3B #540E18 #54270E
triadic
#540E18 #18540E #0E1854
tetradic
#540E18 #3B540E #0E544A #270E54
square
#540E18 #3B540E #0E544A #270E54
split-complementary
#540E18 #0E5427 #0E3B54
monochromatic
#1A0407 #200509 #540E18 #881727 #BD1F36

Accessibility & contrast

On white

14.45
#540E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E18
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E18#FFFFFF#000000##FFFFFF
##540E181.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540e18;
/* rgb */ color: rgb(84, 14, 24);
/* oklch */ color: oklch(29.5% 0.101 18.5);
Tailwind
colors: {
  custom: {
    50: '#8a5454',
    500: '#540e18',
    950: '#000000',
  },
}
SCSS
$custom: #540e18;
$custom-light: #8a5454;
$custom-dark: #000000;
JSON
{
  "hex": "#540e18",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 24
  },
  "hsl": {
    "h": 351.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29549,
    "c": 0.1006,
    "h": 18.5
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#540E18
secondary
#2F8E81
accent
#EED43A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #540E18

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

Preview Lab → · Contrast checker → · Palette generator →

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