#54181A#54181A

#54181A is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.089 H 22.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#54181A
RGBrgb(84, 24, 26)
HSLhsl(358, 56%, 21%)
HSVhsv(358, 71%, 33%)
CMYKcmyk(0%, 71.4%, 69%, 67.1%)
CIE-LABlab(18.42, 27.97, 14.09)
CIE-LCHlch(18.42, 31.32, 26.74°)
OKLaboklab(30.76% 0.0826 0.0337)
OKLCHoklch(30.76% 0.089 22.2)
XYZxyz(4.1697, 2.6132, 1.2619)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54181A #185452
analogous
#541838 #54181A #543418
triadic
#54181A #1A5418 #181A54
tetradic
#54181A #385418 #185452 #341854
square
#54181A #385418 #185452 #341854
split-complementary
#54181A #185434 #183854
monochromatic
#180707 #240A0B #54181A #842629 #B33337

Accessibility & contrast

On white

13.79
#54181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#54181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54181A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54181A#FFFFFF#000000##FFFFFF
##54181A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#373218
Tritanopia (blue-blind)
#5D0A19
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54181a;
/* rgb */ color: rgb(84, 24, 26);
/* oklch */ color: oklch(30.8% 0.089 22.2);
Tailwind
colors: {
  custom: {
    50: '#895956',
    500: '#54181a',
    950: '#000000',
  },
}
SCSS
$custom: #54181a;
$custom-light: #895956;
$custom-dark: #000000;
JSON
{
  "hex": "#54181a",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30755,
    "c": 0.08917,
    "h": 22.2
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#54181A
secondary
#3D8B88
accent
#DFDA49
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54181A

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

Preview Lab → · Contrast checker → · Palette generator →

#54181A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva