#54181E#54181E

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

Color values

HEX#54181E
RGBrgb(84, 24, 30)
HSLhsl(354, 56%, 21%)
HSVhsv(354, 71%, 33%)
CMYKcmyk(0%, 71.4%, 64.3%, 67.1%)
CIE-LABlab(18.51, 28.28, 11.40)
CIE-LCHlch(18.51, 30.49, 21.96°)
OKLaboklab(30.84% 0.0844 0.0279)
OKLCHoklch(30.84% 0.089 18.3)
XYZxyz(4.2175, 2.6324, 1.5141)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54181E #18544E
analogous
#54183C #54181E #543018
triadic
#54181E #1E5418 #181E54
tetradic
#54181E #3C5418 #18544E #301854
square
#54181E #3C5418 #18544E #301854
split-complementary
#54181E #185430 #183C54
monochromatic
#180708 #240A0D #54181E #84262F #B33340

Accessibility & contrast

On white

13.76
#54181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#54181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54181E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54181E#FFFFFF#000000##FFFFFF
##54181E1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#36321C
Tritanopia (blue-blind)
#5D0B1B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54181e;
/* rgb */ color: rgb(84, 24, 30);
/* oklch */ color: oklch(30.8% 0.089 18.3);
Tailwind
colors: {
  custom: {
    50: '#895959',
    500: '#54181e',
    950: '#000000',
  },
}
SCSS
$custom: #54181e;
$custom-light: #895959;
$custom-dark: #000000;
JSON
{
  "hex": "#54181e",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 354,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30844,
    "c": 0.08888,
    "h": 18.3
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#54181E
secondary
#3D8B83
accent
#DFD049
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54181E

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

Preview Lab → · Contrast checker → · Palette generator →

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