#540D0E#540D0E

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

Color values

HEX#540D0E
RGBrgb(84, 13, 14)
HSLhsl(359, 73%, 19%)
HSVhsv(359, 85%, 33%)
CMYKcmyk(0%, 84.5%, 83.3%, 67.1%)
CIE-LABlab(16.53, 31.95, 19.39)
CIE-LCHlch(16.53, 37.37, 31.25°)
OKLaboklab(29.28% 0.0923 0.0444)
OKLCHoklch(29.28% 0.102 25.7)
XYZxyz(3.8798, 2.2050, 0.6367)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540D0E #0D5453
analogous
#540D32 #540D0E #54300D
triadic
#540D0E #0E540D #0D0E54
tetradic
#540D0E #32540D #0D5453 #300D54
square
#540D0E #32540D #0D5453 #300D54
split-complementary
#540D0E #0D5430 #0D3254
monochromatic
#1A0404 #1F0505 #540D0E #891517 #BE1D20

Accessibility & contrast

On white

14.58
#540D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540D0E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540D0E#FFFFFF#000000##FFFFFF
##540D0E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0D
Deuteranopia (green-blind)
#352E0B
Tritanopia (blue-blind)
#5D000E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540d0e;
/* rgb */ color: rgb(84, 13, 14);
/* oklch */ color: oklch(29.3% 0.102 25.7);
Tailwind
colors: {
  custom: {
    50: '#8b534d',
    500: '#540d0e',
    950: '#000000',
  },
}
SCSS
$custom: #540d0e;
$custom-light: #8b534d;
$custom-dark: #000000;
JSON
{
  "hex": "#540d0e",
  "rgb": {
    "r": 84,
    "g": 13,
    "b": 14
  },
  "hsl": {
    "h": 359.155,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29277,
    "c": 0.10239,
    "h": 25.7
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#540D0E
secondary
#2E8F8D
accent
#F0ED38
background
#F9F5F4
surface
#F1E8E7
border
#CBC4C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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