#54161C#54161C

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

Color values

HEX#54161C
RGBrgb(84, 22, 28)
HSLhsl(354, 58%, 21%)
HSVhsv(354, 74%, 33%)
CMYKcmyk(0%, 73.8%, 66.7%, 67.1%)
CIE-LABlab(18.11, 29.07, 12.29)
CIE-LCHlch(18.11, 31.56, 22.92°)
OKLaboklab(30.54% 0.0865 0.0298)
OKLCHoklch(30.54% 0.091 19)
XYZxyz(4.1531, 2.5431, 1.3706)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54161C #16544E
analogous
#54163B #54161C #542F16
triadic
#54161C #1C5416 #161C54
tetradic
#54161C #3B5416 #16544E #2F1654
square
#54161C #3B5416 #16544E #2F1654
split-complementary
#54161C #16542F #163B54
monochromatic
#180608 #24090C #54161C #84232C #B52F3C

Accessibility & contrast

On white

13.92
#54161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54161C
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54161C#FFFFFF#000000##FFFFFF
##54161C1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241C
Deuteranopia (green-blind)
#36311A
Tritanopia (blue-blind)
#5D0719
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54161c;
/* rgb */ color: rgb(84, 22, 28);
/* oklch */ color: oklch(30.5% 0.091 19.0);
Tailwind
colors: {
  custom: {
    50: '#895857',
    500: '#54161c',
    950: '#000000',
  },
}
SCSS
$custom: #54161c;
$custom-light: #895857;
$custom-dark: #000000;
JSON
{
  "hex": "#54161c",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 354.194,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30535,
    "c": 0.09149,
    "h": 19
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#54161C
secondary
#3A8B84
accent
#E2D346
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54161C

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

Preview Lab → · Contrast checker → · Palette generator →

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