#542E28#542E28

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

Color values

HEX#542E28
RGBrgb(84, 46, 40)
HSLhsl(8, 35%, 24%)
HSVhsv(8, 52%, 33%)
CMYKcmyk(0%, 45.2%, 52.4%, 67.1%)
CIE-LABlab(23.65, 16.66, 11.41)
CIE-LCHlch(23.65, 20.19, 34.40°)
OKLaboklab(34.81% 0.0497 0.0285)
OKLCHoklch(34.81% 0.057 29.8)
XYZxyz(5.0165, 3.9925, 2.5135)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542E28 #284E54
analogous
#542838 #542E28 #544428
triadic
#542E28 #28542E #2E2854
tetradic
#542E28 #385428 #284E54 #442854
square
#542E28 #385428 #284E54 #442854
split-complementary
#542E28 #285444 #283854
monochromatic
#150B0A #2B1714 #542E28 #7D453C #A75B4F

Accessibility & contrast

On white

11.68
#542E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #542E28
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542E28#FFFFFF#000000##FFFFFF
##542E281.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373427
Deuteranopia (green-blind)
#403B27
Tritanopia (blue-blind)
#5B282D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #542e28;
/* rgb */ color: rgb(84, 46, 40);
/* oklch */ color: oklch(34.8% 0.057 29.8);
Tailwind
colors: {
  custom: {
    50: '#866761',
    500: '#542e28',
    950: '#000000',
  },
}
SCSS
$custom: #542e28;
$custom-light: #866761;
$custom-dark: #000000;
JSON
{
  "hex": "#542e28",
  "rgb": {
    "r": 84,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 8.182,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.05729,
    "h": 29.8
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#542E28
secondary
#517F87
accent
#BCCC5C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0605
muted
#7C7A79

Preview Lab

Preview with #542E28

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

Preview Lab → · Contrast checker → · Palette generator →

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