#542E27#542E27

#542E27 is a dark, muted red. Relative luminance 0.040; OKLCH L 34.8% C 0.058 H 31.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#542E27
RGBrgb(84, 46, 39)
HSLhsl(9, 37%, 24%)
HSVhsv(9, 54%, 33%)
CMYKcmyk(0%, 45.2%, 53.6%, 67.1%)
CIE-LABlab(23.62, 16.55, 12.05)
CIE-LCHlch(23.62, 20.47, 36.05°)
OKLaboklab(34.78% 0.0492 0.03)
OKLCHoklch(34.78% 0.058 31.3)
XYZxyz(4.9997, 3.9858, 2.4251)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E27 #274D54
analogous
#542737 #542E27 #544527
triadic
#542E27 #27542E #2E2754
tetradic
#542E27 #375427 #274D54 #452754
square
#542E27 #375427 #274D54 #452754
split-complementary
#542E27 #275445 #273754
monochromatic
#150B0A #2A1714 #542E27 #7E453A #A85C4E

Accessibility & contrast

On white

11.69
#542E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#542E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542E27
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E27#FFFFFF#000000##FFFFFF
##542E271.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373326
Deuteranopia (green-blind)
#403B26
Tritanopia (blue-blind)
#5B282C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542e27;
/* rgb */ color: rgb(84, 46, 39);
/* oklch */ color: oklch(34.8% 0.058 31.3);
Tailwind
colors: {
  custom: {
    50: '#866761',
    500: '#542e27',
    950: '#000000',
  },
}
SCSS
$custom: #542e27;
$custom-light: #866761;
$custom-dark: #000000;
JSON
{
  "hex": "#542e27",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 9.333,
    "s": 36.585,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.05762,
    "h": 31.3
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#542E27
secondary
#507E87
accent
#BBCD5B
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0605
muted
#7C7A79

Preview Lab

Preview with #542E27

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

Preview Lab → · Contrast checker → · Palette generator →

#542E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva