#54121A#54121A

#54121A is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.096 H 18.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#54121A
RGBrgb(84, 18, 26)
HSLhsl(353, 65%, 20%)
HSVhsv(353, 79%, 33%)
CMYKcmyk(0%, 78.6%, 69%, 67.1%)
CIE-LABlab(17.43, 30.70, 12.81)
CIE-LCHlch(17.43, 33.26, 22.66°)
OKLaboklab(30.01% 0.0913 0.0308)
OKLCHoklch(30.01% 0.096 18.6)
XYZxyz(4.0593, 2.3926, 1.2252)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54121A #12544C
analogous
#54123B #54121A #542B12
triadic
#54121A #1A5412 #121A54
tetradic
#54121A #3B5412 #12544C #2B1254
square
#54121A #3B5412 #12544C #2B1254
split-complementary
#54121A #12542B #123B54
monochromatic
#190508 #22070A #54121A #861D2A #B92839

Accessibility & contrast

On white

14.20
#54121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#54121A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54121A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54121A#FFFFFF#000000##FFFFFF
##54121A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#353018
Tritanopia (blue-blind)
#5D0115
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54121a;
/* rgb */ color: rgb(84, 18, 26);
/* oklch */ color: oklch(30.0% 0.096 18.6);
Tailwind
colors: {
  custom: {
    50: '#895656',
    500: '#54121a',
    950: '#000000',
  },
}
SCSS
$custom: #54121a;
$custom-light: #895656;
$custom-dark: #000000;
JSON
{
  "hex": "#54121a",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 352.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.0963,
    "h": 18.6
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#54121A
secondary
#358D82
accent
#E8D340
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54121A

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

Preview Lab → · Contrast checker → · Palette generator →

#54121A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva