#542020#542020

#542020 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.078 H 22.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#542020
RGBrgb(84, 32, 32)
HSLhsl(0, 45%, 23%)
HSVhsv(0, 62%, 33%)
CMYKcmyk(0%, 61.9%, 61.9%, 67.1%)
CIE-LABlab(20.13, 24.24, 12.16)
CIE-LCHlch(20.13, 27.12, 26.63°)
OKLaboklab(32.08% 0.072 0.0298)
OKLCHoklch(32.08% 0.078 22.5)
XYZxyz(4.4338, 3.0227, 1.7162)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542020 #205454
analogous
#54203A #542020 #543A20
triadic
#542020 #205420 #202054
tetradic
#542020 #3A5420 #205454 #3A2054
square
#542020 #3A5420 #205454 #3A2054
split-complementary
#542020 #20543A #203A54
monochromatic
#160808 #280F0F #542020 #803131 #AD4242

Accessibility & contrast

On white

13.09
#542020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#542020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542020
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542020#FFFFFF#000000##FFFFFF
##5420201.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A20
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#5C1720
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #542020;
/* rgb */ color: rgb(84, 32, 32);
/* oklch */ color: oklch(32.1% 0.078 22.5);
Tailwind
colors: {
  custom: {
    50: '#885e5b',
    500: '#542020',
    950: '#000000',
  },
}
SCSS
$custom: #542020;
$custom-light: #885e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#542020",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 44.828,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32081,
    "c": 0.07793,
    "h": 22.5
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#542020
secondary
#478989
accent
#D5D553
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #542020

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

Preview Lab → · Contrast checker → · Palette generator →

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