#540F14#540F14

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

Color values

HEX#540F14
RGBrgb(84, 15, 20)
HSLhsl(356, 70%, 19%)
HSVhsv(356, 82%, 33%)
CMYKcmyk(0%, 82.1%, 76.2%, 67.1%)
CIE-LABlab(16.88, 31.51, 16.33)
CIE-LCHlch(16.88, 35.49, 27.39°)
OKLaboklab(29.57% 0.0924 0.0378)
OKLCHoklch(29.57% 0.1 22.3)
XYZxyz(3.9537, 2.2776, 0.8931)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F14 #0F544F
analogous
#540F37 #540F14 #542D0F
triadic
#540F14 #14540F #0F1454
tetradic
#540F14 #37540F #0F544F #2D0F54
square
#540F14 #37540F #0F544F #2D0F54
split-complementary
#540F14 #0F542D #0F3754
monochromatic
#1A0506 #200608 #540F14 #881820 #BC222D

Accessibility & contrast

On white

14.43
#540F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540F14
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F14#FFFFFF#000000##FFFFFF
##540F141.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232014
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #540f14;
/* rgb */ color: rgb(84, 15, 20);
/* oklch */ color: oklch(29.6% 0.100 22.3);
Tailwind
colors: {
  custom: {
    50: '#8a5451',
    500: '#540f14',
    950: '#000000',
  },
}
SCSS
$custom: #540f14;
$custom-light: #8a5451;
$custom-dark: #000000;
JSON
{
  "hex": "#540f14",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 20
  },
  "hsl": {
    "h": 355.652,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29569,
    "c": 0.09985,
    "h": 22.3
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#540F14
secondary
#318E87
accent
#EDE03B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #540F14

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

Preview Lab → · Contrast checker → · Palette generator →

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