#540D11#540D11

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

Color values

HEX#540D11
RGBrgb(84, 13, 17)
HSLhsl(357, 73%, 19%)
HSVhsv(357, 85%, 33%)
CMYKcmyk(0%, 84.5%, 79.8%, 67.1%)
CIE-LABlab(16.57, 32.09, 17.81)
CIE-LCHlch(16.57, 36.70, 29.04°)
OKLaboklab(29.32% 0.0935 0.0409)
OKLCHoklch(29.32% 0.102 23.6)
XYZxyz(3.9017, 2.2137, 0.7521)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540D11 #0D5450
analogous
#540D35 #540D11 #542D0D
triadic
#540D11 #11540D #0D1154
tetradic
#540D11 #35540D #0D5450 #2D0D54
square
#540D11 #35540D #0D5450 #2D0D54
split-complementary
#540D11 #0D542D #0D3554
monochromatic
#1A0405 #1F0506 #540D11 #89151C #BE1D26

Accessibility & contrast

On white

14.56
#540D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#540D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540D11
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540D11#FFFFFF#000000##FFFFFF
##540D111.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F10
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#5D000F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540d11;
/* rgb */ color: rgb(84, 13, 17);
/* oklch */ color: oklch(29.3% 0.102 23.6);
Tailwind
colors: {
  custom: {
    50: '#8b534f',
    500: '#540d11',
    950: '#000000',
  },
}
SCSS
$custom: #540d11;
$custom-light: #8b534f;
$custom-dark: #000000;
JSON
{
  "hex": "#540d11",
  "rgb": {
    "r": 84,
    "g": 13,
    "b": 17
  },
  "hsl": {
    "h": 356.62,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29323,
    "c": 0.10204,
    "h": 23.6
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#540D11
secondary
#2E8F89
accent
#F0E638
background
#F9F5F4
surface
#F1E8E7
border
#CBC4C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540D11

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

Preview Lab → · Contrast checker → · Palette generator →

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