#54161E#54161E

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

Color values

HEX#54161E
RGBrgb(84, 22, 30)
HSLhsl(352, 58%, 21%)
HSVhsv(352, 74%, 33%)
CMYKcmyk(0%, 73.8%, 64.3%, 67.1%)
CIE-LABlab(18.16, 29.23, 10.94)
CIE-LCHlch(18.16, 31.21, 20.51°)
OKLaboklab(30.58% 0.0874 0.0268)
OKLCHoklch(30.58% 0.091 17.1)
XYZxyz(4.1778, 2.5529, 1.5008)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54161E #16544C
analogous
#54163D #54161E #542D16
triadic
#54161E #1E5416 #161E54
tetradic
#54161E #3D5416 #16544C #2D1654
square
#54161E #3D5416 #16544C #2D1654
split-complementary
#54161E #16542D #163D54
monochromatic
#180609 #24090D #54161E #84232F #B52F41

Accessibility & contrast

On white

13.90
#54161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54161E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54161E#FFFFFF#000000##FFFFFF
##54161E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54161e;
/* rgb */ color: rgb(84, 22, 30);
/* oklch */ color: oklch(30.6% 0.091 17.1);
Tailwind
colors: {
  custom: {
    50: '#895859',
    500: '#54161e',
    950: '#000000',
  },
}
SCSS
$custom: #54161e;
$custom-light: #895859;
$custom-dark: #000000;
JSON
{
  "hex": "#54161e",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 352.258,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30583,
    "c": 0.09145,
    "h": 17.1
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#54161E
secondary
#3A8B81
accent
#E2CE46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54161E

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

Preview Lab → · Contrast checker → · Palette generator →

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