#540E0E#540E0E

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

Color values

HEX#540E0E
RGBrgb(84, 14, 14)
HSLhsl(0, 71%, 19%)
HSVhsv(0, 83%, 33%)
CMYKcmyk(0%, 83.3%, 83.3%, 67.1%)
CIE-LABlab(16.66, 31.59, 19.55)
CIE-LCHlch(16.66, 37.15, 31.75°)
OKLaboklab(29.37% 0.0911 0.0447)
OKLCHoklch(29.37% 0.102 26.1)
XYZxyz(3.8929, 2.2312, 0.6411)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E0E #0E5454
analogous
#540E31 #540E0E #54310E
triadic
#540E0E #0E540E #0E0E54
tetradic
#540E0E #31540E #0E5454 #310E54
square
#540E0E #31540E #0E5454 #310E54
split-complementary
#540E0E #0E5431 #0E3154
monochromatic
#1A0404 #200505 #540E0E #881717 #BD1F1F

Accessibility & contrast

On white

14.52
#540E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E0E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E0E#FFFFFF#000000##FFFFFF
##540E0E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F0D
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#5D000F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e0e;
/* rgb */ color: rgb(84, 14, 14);
/* oklch */ color: oklch(29.4% 0.102 26.1);
Tailwind
colors: {
  custom: {
    50: '#8b544d',
    500: '#540e0e',
    950: '#000000',
  },
}
SCSS
$custom: #540e0e;
$custom-light: #8b544d;
$custom-dark: #000000;
JSON
{
  "hex": "#540e0e",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 14
  },
  "hsl": {
    "h": 0,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.1015,
    "h": 26.1
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#540E0E
secondary
#2F8E8E
accent
#EEEE3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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