#54161A#54161A

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

Color values

HEX#54161A
RGBrgb(84, 22, 26)
HSLhsl(356, 58%, 21%)
HSVhsv(356, 74%, 33%)
CMYKcmyk(0%, 73.8%, 69%, 67.1%)
CIE-LABlab(18.07, 28.92, 13.64)
CIE-LCHlch(18.07, 31.98, 25.25°)
OKLaboklab(30.49% 0.0856 0.0327)
OKLCHoklch(30.49% 0.092 20.9)
XYZxyz(4.1299, 2.5338, 1.2487)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54161A #165450
analogous
#541639 #54161A #543116
triadic
#54161A #1A5416 #161A54
tetradic
#54161A #395416 #165450 #311654
square
#54161A #395416 #165450 #311654
split-complementary
#54161A #165431 #163954
monochromatic
#180608 #24090B #54161A #842329 #B52F38

Accessibility & contrast

On white

13.94
#54161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54161A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54161A#FFFFFF#000000##FFFFFF
##54161A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54161a;
/* rgb */ color: rgb(84, 22, 26);
/* oklch */ color: oklch(30.5% 0.092 20.9);
Tailwind
colors: {
  custom: {
    50: '#895856',
    500: '#54161a',
    950: '#000000',
  },
}
SCSS
$custom: #54161a;
$custom-light: #895856;
$custom-dark: #000000;
JSON
{
  "hex": "#54161a",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 356.129,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30491,
    "c": 0.09162,
    "h": 20.9
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#54161A
secondary
#3A8B86
accent
#E2D846
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54161A

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

Preview Lab → · Contrast checker → · Palette generator →

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