#54101B#54101B

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

Color values

HEX#54101B
RGBrgb(84, 16, 27)
HSLhsl(350, 68%, 20%)
HSVhsv(350, 81%, 33%)
CMYKcmyk(0%, 81%, 67.9%, 67.1%)
CIE-LABlab(17.16, 31.58, 11.75)
CIE-LCHlch(17.16, 33.69, 20.41°)
OKLaboklab(29.82% 0.0943 0.0284)
OKLCHoklch(29.82% 0.099 16.8)
XYZxyz(4.0397, 2.3351, 1.2747)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54101B #105449
analogous
#54103D #54101B #542710
triadic
#54101B #1B5410 #101B54
tetradic
#54101B #3D5410 #105449 #271054
square
#54101B #3D5410 #105449 #271054
split-complementary
#54101B #105427 #103D54
monochromatic
#1A0508 #21060A #54101B #871A2C #BB243C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54101B#FFFFFF#000000##FFFFFF
##54101B1.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)
#23211B
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#54101B
secondary
#328E7F
accent
#EBCF3D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54101B

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

Preview Lab → · Contrast checker → · Palette generator →

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