#540E15#540E15

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

Color values

HEX#540E15
RGBrgb(84, 14, 21)
HSLhsl(354, 71%, 19%)
HSVhsv(354, 83%, 33%)
CMYKcmyk(0%, 83.3%, 75%, 67.1%)
CIE-LABlab(16.77, 31.94, 15.51)
CIE-LCHlch(16.77, 35.51, 25.90°)
OKLaboklab(29.49% 0.094 0.0361)
OKLCHoklch(29.49% 0.101 21)
XYZxyz(3.9490, 2.2536, 0.9364)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540E15 #0E544D
analogous
#540E38 #540E15 #542A0E
triadic
#540E15 #15540E #0E1554
tetradic
#540E15 #38540E #0E544D #2A0E54
square
#540E15 #38540E #0E544D #2A0E54
split-complementary
#540E15 #0E542A #0E3854
monochromatic
#1A0407 #200508 #540E15 #881722 #BD1F2F

Accessibility & contrast

On white

14.48
#540E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540E15
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540E15#FFFFFF#000000##FFFFFF
##540E151.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232015
Deuteranopia (green-blind)
#342F13
Tritanopia (blue-blind)
#5D0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540e15;
/* rgb */ color: rgb(84, 14, 21);
/* oklch */ color: oklch(29.5% 0.101 21.0);
Tailwind
colors: {
  custom: {
    50: '#8a5452',
    500: '#540e15',
    950: '#000000',
  },
}
SCSS
$custom: #540e15;
$custom-light: #8a5452;
$custom-dark: #000000;
JSON
{
  "hex": "#540e15",
  "rgb": {
    "r": 84,
    "g": 14,
    "b": 21
  },
  "hsl": {
    "h": 354,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.10073,
    "h": 21
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#540E15
secondary
#2F8E85
accent
#EEDC3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540E15

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

Preview Lab → · Contrast checker → · Palette generator →

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