#540E1E#540E1E

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

Color values

HEX#540E1E
RGBrgb(84, 14, 30)
HSLhsl(346, 71%, 19%)
HSVhsv(346, 83%, 33%)
CMYKcmyk(0%, 83.3%, 64.3%, 67.1%)
CIE-LABlab(16.96, 32.56, 9.33)
CIE-LCHlch(16.96, 33.87, 16.00°)
OKLaboklab(29.69% 0.0981 0.0231)
OKLCHoklch(29.69% 0.101 13.2)
XYZxyz(4.0479, 2.2932, 1.4575)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E1E #0E5444
analogous
#540E41 #540E1E #54210E
triadic
#540E1E #1E540E #0E1E54
tetradic
#540E1E #41540E #0E5444 #210E54
square
#540E1E #41540E #0E5444 #210E54
split-complementary
#540E1E #0E5421 #0E4154
monochromatic
#1A0409 #20050B #540E1E #881731 #BD1F43

Accessibility & contrast

On white

14.40
#540E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E1E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E1E#FFFFFF#000000##FFFFFF
##540E1E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21211E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540e1e;
/* rgb */ color: rgb(84, 14, 30);
/* oklch */ color: oklch(29.7% 0.101 13.2);
Tailwind
colors: {
  custom: {
    50: '#895459',
    500: '#540e1e',
    950: '#000000',
  },
}
SCSS
$custom: #540e1e;
$custom-light: #895459;
$custom-dark: #000000;
JSON
{
  "hex": "#540e1e",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 30
  },
  "hsl": {
    "h": 346.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29691,
    "c": 0.10075,
    "h": 13.2
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#540E1E
secondary
#2F8E79
accent
#EEC53A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #540E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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