#54101C#54101C

#54101C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.099 H 15.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#54101C
RGBrgb(84, 16, 28)
HSLhsl(349, 68%, 20%)
HSVhsv(349, 81%, 33%)
CMYKcmyk(0%, 81%, 66.7%, 67.1%)
CIE-LABlab(17.18, 31.65, 11.07)
CIE-LCHlch(17.18, 33.53, 19.27°)
OKLaboklab(29.84% 0.0948 0.027)
OKLCHoklch(29.84% 0.099 15.9)
XYZxyz(4.0515, 2.3398, 1.3367)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54101C #105448
analogous
#54103E #54101C #542610
triadic
#54101C #1C5410 #101C54
tetradic
#54101C #3E5410 #105448 #261054
square
#54101C #3E5410 #105448 #261054
split-complementary
#54101C #105426 #103E54
monochromatic
#1A0509 #21060B #54101C #871A2D #BB243E

Accessibility & contrast

On white

14.31
#54101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54101C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54101C#FFFFFF#000000##FFFFFF
##54101C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211C
Deuteranopia (green-blind)
#342F1A
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #54101c;
/* rgb */ color: rgb(84, 16, 28);
/* oklch */ color: oklch(29.8% 0.099 15.9);
Tailwind
colors: {
  custom: {
    50: '#895557',
    500: '#54101c',
    950: '#000000',
  },
}
SCSS
$custom: #54101c;
$custom-light: #895557;
$custom-dark: #000000;
JSON
{
  "hex": "#54101c",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 349.412,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2984,
    "c": 0.09851,
    "h": 15.9
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#54101C
secondary
#328E7D
accent
#EBCC3D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54101C

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

Preview Lab → · Contrast checker → · Palette generator →

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