#54111C#54111C

#54111C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.097 H 16.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#54111C
RGBrgb(84, 17, 28)
HSLhsl(350, 66%, 20%)
HSVhsv(350, 80%, 33%)
CMYKcmyk(0%, 79.8%, 66.7%, 67.1%)
CIE-LABlab(17.32, 31.25, 11.25)
CIE-LCHlch(17.32, 33.22, 19.80°)
OKLaboklab(29.95% 0.0935 0.0274)
OKLCHoklch(29.95% 0.097 16.3)
XYZxyz(4.0666, 2.3701, 1.3417)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54111C #115449
analogous
#54113E #54111C #542711
triadic
#54111C #1C5411 #111C54
tetradic
#54111C #3E5411 #115449 #271154
square
#54111C #3E5411 #115449 #271154
split-complementary
#54111C #115427 #113E54
monochromatic
#190508 #21070B #54111C #871B2D #BA263E

Accessibility & contrast

On white

14.25
#54111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#54111C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54111C
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54111C#FFFFFF#000000##FFFFFF
##54111C1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221C
Deuteranopia (green-blind)
#34301A
Tritanopia (blue-blind)
#5D0016
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54111c;
/* rgb */ color: rgb(84, 17, 28);
/* oklch */ color: oklch(29.9% 0.097 16.3);
Tailwind
colors: {
  custom: {
    50: '#895557',
    500: '#54111c',
    950: '#000000',
  },
}
SCSS
$custom: #54111c;
$custom-light: #895557;
$custom-dark: #000000;
JSON
{
  "hex": "#54111c",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 350.149,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29946,
    "c": 0.09741,
    "h": 16.3
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#54111C
secondary
#348D7E
accent
#E9CD3F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54111C

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

Preview Lab → · Contrast checker → · Palette generator →

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