#54181C#54181C

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

Color values

HEX#54181C
RGBrgb(84, 24, 28)
HSLhsl(356, 56%, 21%)
HSVhsv(356, 71%, 33%)
CMYKcmyk(0%, 71.4%, 66.7%, 67.1%)
CIE-LABlab(18.46, 28.12, 12.75)
CIE-LCHlch(18.46, 30.87, 24.39°)
OKLaboklab(30.8% 0.0835 0.0308)
OKLCHoklch(30.8% 0.089 20.3)
XYZxyz(4.1928, 2.6225, 1.3838)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54181C #185450
analogous
#54183A #54181C #543218
triadic
#54181C #1C5418 #181C54
tetradic
#54181C #3A5418 #185450 #321854
square
#54181C #3A5418 #185450 #321854
split-complementary
#54181C #185432 #183A54
monochromatic
#180708 #240A0C #54181C #84262C #B3333C

Accessibility & contrast

On white

13.78
#54181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54181C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54181C#FFFFFF#000000##FFFFFF
##54181C1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251C
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#5D0B1A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54181c;
/* rgb */ color: rgb(84, 24, 28);
/* oklch */ color: oklch(30.8% 0.089 20.3);
Tailwind
colors: {
  custom: {
    50: '#895958',
    500: '#54181c',
    950: '#000000',
  },
}
SCSS
$custom: #54181c;
$custom-light: #895958;
$custom-dark: #000000;
JSON
{
  "hex": "#54181c",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 356,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.08899,
    "h": 20.3
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#54181C
secondary
#3D8B86
accent
#DFD549
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54181C

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

Preview Lab → · Contrast checker → · Palette generator →

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