#54121B#54121B

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

Color values

HEX#54121B
RGBrgb(84, 18, 27)
HSLhsl(352, 65%, 20%)
HSVhsv(352, 79%, 33%)
CMYKcmyk(0%, 78.6%, 67.9%, 67.1%)
CIE-LABlab(17.45, 30.77, 12.13)
CIE-LCHlch(17.45, 33.07, 21.52°)
OKLaboklab(30.03% 0.0917 0.0293)
OKLCHoklch(30.03% 0.096 17.7)
XYZxyz(4.0707, 2.3972, 1.2850)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54121B #12544B
analogous
#54123C #54121B #542A12
triadic
#54121B #1B5412 #121B54
tetradic
#54121B #3C5412 #12544B #2A1254
square
#54121B #3C5412 #12544B #2A1254
split-complementary
#54121B #12542A #123C54
monochromatic
#190508 #22070B #54121B #861D2B #B9283B

Accessibility & contrast

On white

14.19
#54121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54121B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54121B#FFFFFF#000000##FFFFFF
##54121B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221B
Deuteranopia (green-blind)
#353019
Tritanopia (blue-blind)
#5D0116
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54121b;
/* rgb */ color: rgb(84, 18, 27);
/* oklch */ color: oklch(30.0% 0.096 17.7);
Tailwind
colors: {
  custom: {
    50: '#895657',
    500: '#54121b',
    950: '#000000',
  },
}
SCSS
$custom: #54121b;
$custom-light: #895657;
$custom-dark: #000000;
JSON
{
  "hex": "#54121b",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 351.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30033,
    "c": 0.09628,
    "h": 17.7
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#54121B
secondary
#358D81
accent
#E8D140
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54121B

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

Preview Lab → · Contrast checker → · Palette generator →

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