#540F10#540F10

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

Color values

HEX#540F10
RGBrgb(84, 15, 16)
HSLhsl(359, 70%, 19%)
HSVhsv(359, 82%, 33%)
CMYKcmyk(0%, 82.1%, 81%, 67.1%)
CIE-LABlab(16.82, 31.31, 18.69)
CIE-LCHlch(16.82, 36.46, 30.83°)
OKLaboklab(29.5% 0.0908 0.0427)
OKLCHoklch(29.5% 0.1 25.2)
XYZxyz(3.9210, 2.2645, 0.7207)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#540F10 #0F5453
analogous
#540F33 #540F10 #54310F
triadic
#540F10 #10540F #0F1054
tetradic
#540F10 #33540F #0F5453 #310F54
square
#540F10 #33540F #0F5453 #310F54
split-complementary
#540F10 #0F5431 #0F3354
monochromatic
#1A0505 #200606 #540F10 #88181A #BC2224

Accessibility & contrast

On white

14.45
#540F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #540F10
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##540F10#FFFFFF#000000##FFFFFF
##540F101.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200F
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5D0010
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #540f10;
/* rgb */ color: rgb(84, 15, 16);
/* oklch */ color: oklch(29.5% 0.100 25.2);
Tailwind
colors: {
  custom: {
    50: '#8b544e',
    500: '#540f10',
    950: '#000000',
  },
}
SCSS
$custom: #540f10;
$custom-light: #8b544e;
$custom-dark: #000000;
JSON
{
  "hex": "#540f10",
  "rgb": {
    "r": 84,
    "g": 15,
    "b": 16
  },
  "hsl": {
    "h": 359.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29501,
    "c": 0.10031,
    "h": 25.2
  },
  "luminance": 0.02264
}

Semantic roles & 50–950 ramp

primary
#540F10
secondary
#318E8D
accent
#EDEA3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #540F10

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

Preview Lab → · Contrast checker → · Palette generator →

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