#542829#542829

#542829 is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.7% C 0.065 H 19.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#542829
RGBrgb(84, 40, 41)
HSLhsl(359, 35%, 24%)
HSVhsv(359, 52%, 33%)
CMYKcmyk(0%, 52.4%, 51.2%, 67.1%)
CIE-LABlab(22.17, 20.49, 8.73)
CIE-LCHlch(22.17, 22.27, 23.08°)
OKLaboklab(33.69% 0.0616 0.0221)
OKLCHoklch(33.69% 0.065 19.7)
XYZxyz(4.8155, 3.5630, 2.5315)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542829 #285453
analogous
#54283F #542829 #543D28
triadic
#542829 #295428 #282954
tetradic
#542829 #3F5428 #285453 #3D2854
square
#542829 #3F5428 #285453 #3D2854
split-complementary
#542829 #28543D #283F54
monochromatic
#150A0A #2B1415 #542829 #7D3C3D #A74F51

Accessibility & contrast

On white

12.26
#542829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#542829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542829
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542829#FFFFFF#000000##FFFFFF
##5428291.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313029
Deuteranopia (green-blind)
#3C3828
Tritanopia (blue-blind)
#5B2229
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #542829;
/* rgb */ color: rgb(84, 40, 41);
/* oklch */ color: oklch(33.7% 0.065 19.7);
Tailwind
colors: {
  custom: {
    50: '#876362',
    500: '#542829',
    950: '#000000',
  },
}
SCSS
$custom: #542829;
$custom-light: #876362;
$custom-dark: #000000;
JSON
{
  "hex": "#542829",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 358.636,
    "s": 35.484,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33691,
    "c": 0.06544,
    "h": 19.7
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#542829
secondary
#518785
accent
#CCC95C
background
#F8F5F5
surface
#F0EAEA
border
#CBC6C6
text
#0B0505
muted
#7C7979

Preview Lab

Preview with #542829

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

Preview Lab → · Contrast checker → · Palette generator →

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