#542017#542017

#542017 is a dark, moderate red. Relative luminance 0.030; OKLCH L 31.9% C 0.080 H 31.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#542017
RGBrgb(84, 32, 23)
HSLhsl(9, 57%, 21%)
HSVhsv(9, 73%, 33%)
CMYKcmyk(0%, 61.9%, 72.6%, 67.1%)
CIE-LABlab(19.96, 23.52, 18.03)
CIE-LCHlch(19.96, 29.64, 37.47°)
OKLaboklab(31.9% 0.068 0.042)
OKLCHoklch(31.9% 0.08 31.7)
XYZxyz(4.3277, 2.9803, 1.1578)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542017 #174B54
analogous
#54172C #542017 #543E17
triadic
#542017 #175420 #201754
tetradic
#542017 #2C5417 #174B54 #3E1754
square
#542017 #2C5417 #174B54 #3E1754
split-complementary
#542017 #17543E #172C54
monochromatic
#180907 #240E0A #542017 #843224 #B44531

Accessibility & contrast

On white

13.16
#542017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542017
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542017#FFFFFF#000000##FFFFFF
##5420171.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2916
Deuteranopia (green-blind)
#3B3416
Tritanopia (blue-blind)
#5D151E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #542017;
/* rgb */ color: rgb(84, 32, 23);
/* oklch */ color: oklch(31.9% 0.080 31.7);
Tailwind
colors: {
  custom: {
    50: '#895d54',
    500: '#542017',
    950: '#000000',
  },
}
SCSS
$custom: #542017;
$custom-light: #895d54;
$custom-dark: #000000;
JSON
{
  "hex": "#542017",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 8.852,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.07991,
    "h": 31.7
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#542017
secondary
#3C7F8B
accent
#CAE048
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #542017

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

Preview Lab → · Contrast checker → · Palette generator →

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