#540F16#540F16

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

Color values

HEX#540F16
RGBrgb(84, 15, 22)
HSLhsl(354, 70%, 19%)
HSVhsv(354, 82%, 33%)
CMYKcmyk(0%, 82.1%, 73.8%, 67.1%)
CIE-LABlab(16.92, 31.63, 15.00)
CIE-LCHlch(16.92, 35.01, 25.37°)
OKLaboklab(29.61% 0.0933 0.0352)
OKLCHoklch(29.61% 0.1 20.6)
XYZxyz(3.9722, 2.2850, 0.9908)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F16 #0F544D
analogous
#540F39 #540F16 #542B0F
triadic
#540F16 #16540F #0F1654
tetradic
#540F16 #39540F #0F544D #2B0F54
square
#540F16 #39540F #0F544D #2B0F54
split-complementary
#540F16 #0F542B #0F3954
monochromatic
#1A0507 #200608 #540F16 #881824 #BC2231

Accessibility & contrast

On white

14.42
#540F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#540F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #540F16
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F16#FFFFFF#000000##FFFFFF
##540F161.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232016
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540f16;
/* rgb */ color: rgb(84, 15, 22);
/* oklch */ color: oklch(29.6% 0.100 20.6);
Tailwind
colors: {
  custom: {
    50: '#8a5452',
    500: '#540f16',
    950: '#000000',
  },
}
SCSS
$custom: #540f16;
$custom-light: #8a5452;
$custom-dark: #000000;
JSON
{
  "hex": "#540f16",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 22
  },
  "hsl": {
    "h": 353.913,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29606,
    "c": 0.09969,
    "h": 20.6
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#540F16
secondary
#318E85
accent
#EDDB3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540F16

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

Preview Lab → · Contrast checker → · Palette generator →

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