#542415#542415

#542415 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.5% C 0.076 H 37.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#542415
RGBrgb(84, 36, 21)
HSLhsl(14, 60%, 21%)
HSVhsv(14, 75%, 33%)
CMYKcmyk(0%, 57.1%, 75%, 67.1%)
CIE-LABlab(20.83, 21.08, 20.34)
CIE-LCHlch(20.83, 29.30, 43.98°)
OKLaboklab(32.55% 0.06 0.0467)
OKLCHoklch(32.55% 0.076 37.9)
XYZxyz(4.4228, 3.2013, 1.0943)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542415 #154554
analogous
#541525 #542415 #544315
triadic
#542415 #155424 #241554
tetradic
#542415 #255415 #154554 #431554
square
#542415 #255415 #154554 #431554
split-complementary
#542415 #155443 #152554
monochromatic
#180A06 #230F09 #542415 #853921 #B64E2D

Accessibility & contrast

On white

12.80
#542415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#542415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542415
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542415#FFFFFF#000000##FFFFFF
##5424151.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C13
Deuteranopia (green-blind)
#3D3614
Tritanopia (blue-blind)
#5D1A21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #542415;
/* rgb */ color: rgb(84, 36, 21);
/* oklch */ color: oklch(32.5% 0.076 37.9);
Tailwind
colors: {
  custom: {
    50: '#896053',
    500: '#542415',
    950: '#000000',
  },
}
SCSS
$custom: #542415;
$custom-light: #896053;
$custom-dark: #000000;
JSON
{
  "hex": "#542415",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 21
  },
  "hsl": {
    "h": 14.286,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32547,
    "c": 0.07603,
    "h": 37.9
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#542415
secondary
#39788C
accent
#BDE345
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #542415

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

Preview Lab → · Contrast checker → · Palette generator →

#542415 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva