#540E17#540E17

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

Color values

HEX#540E17
RGBrgb(84, 14, 23)
HSLhsl(352, 71%, 19%)
HSVhsv(352, 83%, 33%)
CMYKcmyk(0%, 83.3%, 72.6%, 67.1%)
CIE-LABlab(16.80, 32.06, 14.15)
CIE-LCHlch(16.80, 35.05, 23.81°)
OKLaboklab(29.53% 0.0949 0.0334)
OKLCHoklch(29.53% 0.101 19.4)
XYZxyz(3.9683, 2.2614, 1.0380)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E17 #0E544B
analogous
#540E3A #540E17 #54280E
triadic
#540E17 #17540E #0E1754
tetradic
#540E17 #3A540E #0E544B #280E54
square
#540E17 #3A540E #0E544B #280E54
split-complementary
#540E17 #0E5428 #0E3A54
monochromatic
#1A0407 #200509 #540E17 #881725 #BD1F34

Accessibility & contrast

On white

14.46
#540E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E17
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E17#FFFFFF#000000##FFFFFF
##540E171.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222017
Deuteranopia (green-blind)
#342F15
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e17;
/* rgb */ color: rgb(84, 14, 23);
/* oklch */ color: oklch(29.5% 0.101 19.4);
Tailwind
colors: {
  custom: {
    50: '#8a5453',
    500: '#540e17',
    950: '#000000',
  },
}
SCSS
$custom: #540e17;
$custom-light: #8a5453;
$custom-dark: #000000;
JSON
{
  "hex": "#540e17",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 23
  },
  "hsl": {
    "h": 352.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29528,
    "c": 0.10063,
    "h": 19.4
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#540E17
secondary
#2F8E82
accent
#EED73A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540E17

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

Preview Lab → · Contrast checker → · Palette generator →

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