#54291D#54291D

#54291D is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.6% C 0.067 H 36.5°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#54291D
RGBrgb(84, 41, 29)
HSLhsl(13, 49%, 22%)
HSVhsv(13, 65%, 33%)
CMYKcmyk(0%, 51.2%, 65.5%, 67.1%)
CIE-LABlab(22.16, 18.67, 16.77)
CIE-LCHlch(22.16, 25.09, 41.94°)
OKLaboklab(33.6% 0.0541 0.0401)
OKLCHoklch(33.6% 0.067 36.5)
XYZxyz(4.6712, 3.5599, 1.6033)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54291D #1D4854
analogous
#541D2D #54291D #54451D
triadic
#54291D #1D5429 #291D54
tetradic
#54291D #2D541D #1D4854 #451D54
square
#54291D #2D541D #1D4854 #451D54
split-complementary
#54291D #1D5445 #1D2D54
monochromatic
#170B08 #27130D #54291D #813F2D #AF553C

Accessibility & contrast

On white

12.27
#54291D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#54291D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54291D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54291D#FFFFFF#000000##FFFFFF
##54291D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1C
Deuteranopia (green-blind)
#3E391C
Tritanopia (blue-blind)
#5C2126
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #54291d;
/* rgb */ color: rgb(84, 41, 29);
/* oklch */ color: oklch(33.6% 0.067 36.5);
Tailwind
colors: {
  custom: {
    50: '#886359',
    500: '#54291d',
    950: '#000000',
  },
}
SCSS
$custom: #54291d;
$custom-light: #886359;
$custom-dark: #000000;
JSON
{
  "hex": "#54291d",
  "rgb": {
    "r": 84,
    "g": 41,
    "b": 29
  },
  "hsl": {
    "h": 13.091,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.336,
    "c": 0.06735,
    "h": 36.5
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#54291D
secondary
#447A89
accent
#BAD850
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #54291D

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

Preview Lab → · Contrast checker → · Palette generator →

#54291D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva