#54180E#54180E

#54180E is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.091 H 31.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#54180E
RGBrgb(84, 24, 14)
HSLhsl(9, 71%, 19%)
HSVhsv(9, 83%, 33%)
CMYKcmyk(0%, 71.4%, 83.3%, 67.1%)
CIE-LABlab(18.23, 27.26, 21.46)
CIE-LCHlch(18.23, 34.69, 38.21°)
OKLaboklab(30.55% 0.0776 0.0483)
OKLCHoklch(30.55% 0.091 31.9)
XYZxyz(4.0625, 2.5704, 0.6976)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54180E #0E4A54
analogous
#540E27 #54180E #543B0E
triadic
#54180E #0E5418 #180E54
tetradic
#54180E #27540E #0E4A54 #3B0E54
square
#54180E #27540E #0E4A54 #3B0E54
split-complementary
#54180E #0E543B #0E2754
monochromatic
#1A0704 #200905 #54180E #882717 #BD361F

Accessibility & contrast

On white

13.87
#54180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#54180E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54180E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54180E#FFFFFF#000000##FFFFFF
##54180E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240C
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#5D0716
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54180e;
/* rgb */ color: rgb(84, 24, 14);
/* oklch */ color: oklch(30.6% 0.091 31.9);
Tailwind
colors: {
  custom: {
    50: '#8a584d',
    500: '#54180e',
    950: '#000000',
  },
}
SCSS
$custom: #54180e;
$custom-light: #8a584d;
$custom-dark: #000000;
JSON
{
  "hex": "#54180e",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 8.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30552,
    "c": 0.09139,
    "h": 31.9
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#54180E
secondary
#2F818E
accent
#D4EE3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54180E

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

Preview Lab → · Contrast checker → · Palette generator →

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