#540D10#540D10

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

Color values

HEX#540D10
RGBrgb(84, 13, 16)
HSLhsl(357, 73%, 19%)
HSVhsv(357, 85%, 33%)
CMYKcmyk(0%, 84.5%, 81%, 67.1%)
CIE-LABlab(16.56, 32.04, 18.36)
CIE-LCHlch(16.56, 36.93, 29.82°)
OKLaboklab(29.31% 0.0931 0.0421)
OKLCHoklch(29.31% 0.102 24.3)
XYZxyz(3.8941, 2.2107, 0.7118)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540D10 #0D5451
analogous
#540D34 #540D10 #542E0D
triadic
#540D10 #10540D #0D1054
tetradic
#540D10 #34540D #0D5451 #2E0D54
square
#540D10 #34540D #0D5451 #2E0D54
split-complementary
#540D10 #0D542E #0D3454
monochromatic
#1A0405 #1F0506 #540D10 #89151A #BE1D24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##540D10#FFFFFF#000000##FFFFFF
##540D101.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)
#231F0F
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#5D000F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540d10;
/* rgb */ color: rgb(84, 13, 16);
/* oklch */ color: oklch(29.3% 0.102 24.3);
Tailwind
colors: {
  custom: {
    50: '#8b534e',
    500: '#540d10',
    950: '#000000',
  },
}
SCSS
$custom: #540d10;
$custom-light: #8b534e;
$custom-dark: #000000;
JSON
{
  "hex": "#540d10",
  "rgb": {
    "r": 84,
    "g": 13,
    "b": 16
  },
  "hsl": {
    "h": 357.465,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.10214,
    "h": 24.3
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#540D10
secondary
#2E8F8B
accent
#F0E838
background
#F9F5F4
surface
#F1E8E7
border
#CBC4C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540D10

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

Preview Lab → · Contrast checker → · Palette generator →

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