#540E0F#540E0F

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

Color values

HEX#540E0F
RGBrgb(84, 14, 15)
HSLhsl(359, 71%, 19%)
HSVhsv(359, 83%, 33%)
CMYKcmyk(0%, 83.3%, 82.1%, 67.1%)
CIE-LABlab(16.67, 31.63, 19.05)
CIE-LCHlch(16.67, 36.93, 31.05°)
OKLaboklab(29.39% 0.0915 0.0436)
OKLCHoklch(29.39% 0.101 25.5)
XYZxyz(3.8999, 2.2340, 0.6777)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E0F #0E5453
analogous
#540E32 #540E0F #54300E
triadic
#540E0F #0F540E #0E0F54
tetradic
#540E0F #32540E #0E5453 #300E54
square
#540E0F #32540E #0E5453 #300E54
split-complementary
#540E0F #0E5430 #0E3254
monochromatic
#1A0405 #200506 #540E0F #881718 #BD1F22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##540E0F#FFFFFF#000000##FFFFFF
##540E0F1.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)
#23200E
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#5D000F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e0f;
/* rgb */ color: rgb(84, 14, 15);
/* oklch */ color: oklch(29.4% 0.101 25.5);
Tailwind
colors: {
  custom: {
    50: '#8b544d',
    500: '#540e0f',
    950: '#000000',
  },
}
SCSS
$custom: #540e0f;
$custom-light: #8b544d;
$custom-dark: #000000;
JSON
{
  "hex": "#540e0f",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 15
  },
  "hsl": {
    "h": 359.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29387,
    "c": 0.10137,
    "h": 25.5
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#540E0F
secondary
#2F8E8D
accent
#EEEC3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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