#542013#542013

#542013 is a dark, moderate red. Relative luminance 0.030; OKLCH L 31.8% C 0.081 H 35.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#542013
RGBrgb(84, 32, 19)
HSLhsl(12, 63%, 20%)
HSVhsv(12, 77%, 33%)
CMYKcmyk(0%, 61.9%, 77.4%, 67.1%)
CIE-LABlab(19.90, 23.27, 20.55)
CIE-LCHlch(19.90, 31.05, 41.45°)
OKLaboklab(31.83% 0.0663 0.0468)
OKLCHoklch(31.83% 0.081 35.2)
XYZxyz(4.2906, 2.9654, 0.9624)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542013 #134754
analogous
#541326 #542013 #544013
triadic
#542013 #135420 #201354
tetradic
#542013 #265413 #134754 #401354
square
#542013 #265413 #134754 #401354
split-complementary
#542013 #135440 #132654
monochromatic
#190A06 #220D08 #542013 #86331E #B8462A

Accessibility & contrast

On white

13.18
#542013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#542013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542013
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542013#FFFFFF#000000##FFFFFF
##5420131.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2911
Deuteranopia (green-blind)
#3B3412
Tritanopia (blue-blind)
#5D151D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #542013;
/* rgb */ color: rgb(84, 32, 19);
/* oklch */ color: oklch(31.8% 0.081 35.2);
Tailwind
colors: {
  custom: {
    50: '#895d51',
    500: '#542013',
    950: '#000000',
  },
}
SCSS
$custom: #542013;
$custom-light: #895d51;
$custom-dark: #000000;
JSON
{
  "hex": "#542013",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 19
  },
  "hsl": {
    "h": 12,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31833,
    "c": 0.08113,
    "h": 35.2
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#542013
secondary
#367B8C
accent
#C5E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #542013

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

Preview Lab → · Contrast checker → · Palette generator →

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