#54180F#54180F

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

Color values

HEX#54180F
RGBrgb(84, 24, 15)
HSLhsl(8, 70%, 19%)
HSVhsv(8, 82%, 33%)
CMYKcmyk(0%, 71.4%, 82.1%, 67.1%)
CIE-LABlab(18.25, 27.31, 20.96)
CIE-LCHlch(18.25, 34.42, 37.51°)
OKLaboklab(30.57% 0.0779 0.0473)
OKLCHoklch(30.57% 0.091 31.3)
XYZxyz(4.0695, 2.5732, 0.7342)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54180F #0F4B54
analogous
#540F29 #54180F #543B0F
triadic
#54180F #0F5418 #180F54
tetradic
#54180F #29540F #0F4B54 #3B0F54
square
#54180F #29540F #0F4B54 #3B0F54
split-complementary
#54180F #0F543B #0F2954
monochromatic
#1A0705 #200906 #54180F #882718 #BC3622

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54180F#FFFFFF#000000##FFFFFF
##54180F1.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)
#29240E
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#5D0716
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54180f;
/* rgb */ color: rgb(84, 24, 15);
/* oklch */ color: oklch(30.6% 0.091 31.3);
Tailwind
colors: {
  custom: {
    50: '#8a584e',
    500: '#54180f',
    950: '#000000',
  },
}
SCSS
$custom: #54180f;
$custom-light: #8a584e;
$custom-dark: #000000;
JSON
{
  "hex": "#54180f",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 7.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30565,
    "c": 0.09116,
    "h": 31.3
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#54180F
secondary
#31828E
accent
#D5ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54180F

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

Preview Lab → · Contrast checker → · Palette generator →

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