#54180D#54180D

#54180D is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.092 H 32.6°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#54180D
RGBrgb(84, 24, 13)
HSLhsl(9, 73%, 19%)
HSVhsv(9, 85%, 33%)
CMYKcmyk(0%, 71.4%, 84.5%, 67.1%)
CIE-LABlab(18.22, 27.22, 21.94)
CIE-LCHlch(18.22, 34.96, 38.87°)
OKLaboklab(30.54% 0.0772 0.0494)
OKLCHoklch(30.54% 0.092 32.6)
XYZxyz(4.0559, 2.5677, 0.6627)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54180D #0D4954
analogous
#540D26 #54180D #543C0D
triadic
#54180D #0D5418 #180D54
tetradic
#54180D #26540D #0D4954 #3C0D54
square
#54180D #26540D #0D4954 #3C0D54
split-complementary
#54180D #0D543C #0D2654
monochromatic
#1A0804 #1F0905 #54180D #892715 #BE361D

Accessibility & contrast

On white

13.88
#54180D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54180D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54180D#FFFFFF#000000##FFFFFF
##54180D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54180d;
/* rgb */ color: rgb(84, 24, 13);
/* oklch */ color: oklch(30.5% 0.092 32.6);
Tailwind
colors: {
  custom: {
    50: '#8a584d',
    500: '#54180d',
    950: '#000000',
  },
}
SCSS
$custom: #54180d;
$custom-light: #8a584d;
$custom-dark: #000000;
JSON
{
  "hex": "#54180d",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 13
  },
  "hsl": {
    "h": 9.296,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30539,
    "c": 0.09163,
    "h": 32.6
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#54180D
secondary
#2E808F
accent
#D3F038
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54180D

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

Preview Lab → · Contrast checker → · Palette generator →

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