#540D15#540D15

#540D15 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.4% C 0.102 H 20.6°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#540D15
RGBrgb(84, 13, 21)
HSLhsl(353, 73%, 19%)
HSVhsv(353, 85%, 33%)
CMYKcmyk(0%, 84.5%, 75%, 67.1%)
CIE-LABlab(16.64, 32.30, 15.36)
CIE-LCHlch(16.64, 35.77, 25.42°)
OKLaboklab(29.39% 0.0952 0.0358)
OKLCHoklch(29.39% 0.102 20.6)
XYZxyz(3.9359, 2.2274, 0.9320)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540D15 #0D544C
analogous
#540D39 #540D15 #54290D
triadic
#540D15 #15540D #0D1554
tetradic
#540D15 #39540D #0D544C #290D54
square
#540D15 #39540D #0D544C #290D54
split-complementary
#540D15 #0D5429 #0D3954
monochromatic
#1A0407 #1F0508 #540D15 #891522 #BE1D30

Accessibility & contrast

On white

14.53
#540D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540D15
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540D15#FFFFFF#000000##FFFFFF
##540D151.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540d15;
/* rgb */ color: rgb(84, 13, 21);
/* oklch */ color: oklch(29.4% 0.102 20.6);
Tailwind
colors: {
  custom: {
    50: '#8a5352',
    500: '#540d15',
    950: '#000000',
  },
}
SCSS
$custom: #540d15;
$custom-light: #8a5352;
$custom-dark: #000000;
JSON
{
  "hex": "#540d15",
  "rgb": {
    "r": 84,
    "g": 13,
    "b": 21
  },
  "hsl": {
    "h": 353.239,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29394,
    "c": 0.10169,
    "h": 20.6
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#540D15
secondary
#2E8F84
accent
#F0DB38
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540D15

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

Preview Lab → · Contrast checker → · Palette generator →

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