#54161F#54161F

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

Color values

HEX#54161F
RGBrgb(84, 22, 31)
HSLhsl(351, 58%, 21%)
HSVhsv(351, 74%, 33%)
CMYKcmyk(0%, 73.8%, 63.1%, 67.1%)
CIE-LABlab(18.18, 29.32, 10.26)
CIE-LCHlch(18.18, 31.06, 19.29°)
OKLaboklab(30.61% 0.0879 0.0253)
OKLCHoklch(30.61% 0.091 16.1)
XYZxyz(4.1908, 2.5581, 1.5692)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54161F #16544B
analogous
#54163E #54161F #542C16
triadic
#54161F #1F5416 #161F54
tetradic
#54161F #3E5416 #16544B #2C1654
square
#54161F #3E5416 #16544B #2C1654
split-complementary
#54161F #16542C #163E54
monochromatic
#180609 #24090D #54161F #842331 #B52F43

Accessibility & contrast

On white

13.89
#54161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54161F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54161F#FFFFFF#000000##FFFFFF
##54161F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241F
Deuteranopia (green-blind)
#36311D
Tritanopia (blue-blind)
#5D081A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54161f;
/* rgb */ color: rgb(84, 22, 31);
/* oklch */ color: oklch(30.6% 0.091 16.1);
Tailwind
colors: {
  custom: {
    50: '#89585a',
    500: '#54161f',
    950: '#000000',
  },
}
SCSS
$custom: #54161f;
$custom-light: #89585a;
$custom-dark: #000000;
JSON
{
  "hex": "#54161f",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 351.29,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30607,
    "c": 0.09146,
    "h": 16.1
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#54161F
secondary
#3A8B80
accent
#E2CB46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54161F

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

Preview Lab → · Contrast checker → · Palette generator →

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