#540F19#540F19

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

Color values

HEX#540F19
RGBrgb(84, 15, 25)
HSLhsl(351, 70%, 19%)
HSVhsv(351, 82%, 33%)
CMYKcmyk(0%, 82.1%, 70.2%, 67.1%)
CIE-LABlab(16.98, 31.82, 12.95)
CIE-LCHlch(16.98, 34.35, 22.14°)
OKLaboklab(29.67% 0.0946 0.031)
OKLCHoklch(29.67% 0.1 18.1)
XYZxyz(4.0029, 2.2973, 1.1522)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F19 #0F544A
analogous
#540F3C #540F19 #54280F
triadic
#540F19 #19540F #0F1954
tetradic
#540F19 #3C540F #0F544A #280F54
square
#540F19 #3C540F #0F544A #280F54
split-complementary
#540F19 #0F5428 #0F3C54
monochromatic
#1A0508 #20060A #540F19 #881828 #BC2238

Accessibility & contrast

On white

14.39
#540F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540F19
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F19#FFFFFF#000000##FFFFFF
##540F191.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #540f19;
/* rgb */ color: rgb(84, 15, 25);
/* oklch */ color: oklch(29.7% 0.100 18.1);
Tailwind
colors: {
  custom: {
    50: '#8a5455',
    500: '#540f19',
    950: '#000000',
  },
}
SCSS
$custom: #540f19;
$custom-light: #8a5455;
$custom-dark: #000000;
JSON
{
  "hex": "#540f19",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 25
  },
  "hsl": {
    "h": 351.304,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29669,
    "c": 0.09956,
    "h": 18.1
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#540F19
secondary
#318E80
accent
#EDD33B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0303
muted
#7D7878

Preview Lab

Preview with #540F19

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

Preview Lab → · Contrast checker → · Palette generator →

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