#540F11#540F11

#540F11 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.100 H 24.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#540F11
RGBrgb(84, 15, 17)
HSLhsl(358, 70%, 19%)
HSVhsv(358, 82%, 33%)
CMYKcmyk(0%, 82.1%, 79.8%, 67.1%)
CIE-LABlab(16.83, 31.36, 18.14)
CIE-LCHlch(16.83, 36.22, 30.05°)
OKLaboklab(29.52% 0.0912 0.0416)
OKLCHoklch(29.52% 0.1 24.5)
XYZxyz(3.9286, 2.2675, 0.7610)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F11 #0F5452
analogous
#540F34 #540F11 #54300F
triadic
#540F11 #11540F #0F1154
tetradic
#540F11 #34540F #0F5452 #300F54
square
#540F11 #34540F #0F5452 #300F54
split-complementary
#540F11 #0F5430 #0F3454
monochromatic
#1A0505 #200606 #540F11 #88181C #BC2226

Accessibility & contrast

On white

14.45
#540F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540F11
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F11#FFFFFF#000000##FFFFFF
##540F111.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242010
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#5D0011
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540f11;
/* rgb */ color: rgb(84, 15, 17);
/* oklch */ color: oklch(29.5% 0.100 24.5);
Tailwind
colors: {
  custom: {
    50: '#8a544f',
    500: '#540f11',
    950: '#000000',
  },
}
SCSS
$custom: #540f11;
$custom-light: #8a544f;
$custom-dark: #000000;
JSON
{
  "hex": "#540f11",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 17
  },
  "hsl": {
    "h": 358.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29517,
    "c": 0.10018,
    "h": 24.5
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#540F11
secondary
#318E8B
accent
#EDE73B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540F11

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

Preview Lab → · Contrast checker → · Palette generator →

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