#54161B#54161B

#54161B is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.5% C 0.092 H 19.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#54161B
RGBrgb(84, 22, 27)
HSLhsl(355, 58%, 21%)
HSVhsv(355, 74%, 33%)
CMYKcmyk(0%, 73.8%, 67.9%, 67.1%)
CIE-LABlab(18.09, 29.00, 12.97)
CIE-LCHlch(18.09, 31.76, 24.09°)
OKLaboklab(30.51% 0.0861 0.0312)
OKLCHoklch(30.51% 0.092 19.9)
XYZxyz(4.1413, 2.5383, 1.3086)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54161B #16544F
analogous
#54163A #54161B #543016
triadic
#54161B #1B5416 #161B54
tetradic
#54161B #3A5416 #16544F #301654
square
#54161B #3A5416 #16544F #301654
split-complementary
#54161B #165430 #163A54
monochromatic
#180608 #24090B #54161B #84232B #B52F3A

Accessibility & contrast

On white

13.93
#54161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54161B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54161B#FFFFFF#000000##FFFFFF
##54161B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#5D0718
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54161b;
/* rgb */ color: rgb(84, 22, 27);
/* oklch */ color: oklch(30.5% 0.092 19.9);
Tailwind
colors: {
  custom: {
    50: '#895857',
    500: '#54161b',
    950: '#000000',
  },
}
SCSS
$custom: #54161b;
$custom-light: #895857;
$custom-dark: #000000;
JSON
{
  "hex": "#54161b",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 355.161,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.09155,
    "h": 19.9
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#54161B
secondary
#3A8B85
accent
#E2D546
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54161B

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

Preview Lab → · Contrast checker → · Palette generator →

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