#540E19#540E19

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

Color values

HEX#540E19
RGBrgb(84, 14, 25)
HSLhsl(351, 71%, 19%)
HSVhsv(351, 83%, 33%)
CMYKcmyk(0%, 83.3%, 70.2%, 67.1%)
CIE-LABlab(16.84, 32.19, 12.78)
CIE-LCHlch(16.84, 34.64, 21.65°)
OKLaboklab(29.57% 0.0958 0.0306)
OKLCHoklch(29.57% 0.101 17.7)
XYZxyz(3.9891, 2.2697, 1.1476)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E19 #0E5449
analogous
#540E3C #540E19 #54260E
triadic
#540E19 #19540E #0E1954
tetradic
#540E19 #3C540E #0E5449 #260E54
square
#540E19 #3C540E #0E5449 #260E54
split-complementary
#540E19 #0E5426 #0E3C54
monochromatic
#1A0408 #200509 #540E19 #881729 #BD1F38

Accessibility & contrast

On white

14.44
#540E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E19
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E19#FFFFFF#000000##FFFFFF
##540E191.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222019
Deuteranopia (green-blind)
#342F17
Tritanopia (blue-blind)
#5D0013
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e19;
/* rgb */ color: rgb(84, 14, 25);
/* oklch */ color: oklch(29.6% 0.101 17.7);
Tailwind
colors: {
  custom: {
    50: '#8a5455',
    500: '#540e19',
    950: '#000000',
  },
}
SCSS
$custom: #540e19;
$custom-light: #8a5455;
$custom-dark: #000000;
JSON
{
  "hex": "#540e19",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 25
  },
  "hsl": {
    "h": 350.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.10058,
    "h": 17.7
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#540E19
secondary
#2F8E7F
accent
#EED23A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0303
muted
#7D7878

Preview Lab

Preview with #540E19

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

Preview Lab → · Contrast checker → · Palette generator →

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