#54121D#54121D

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

Color values

HEX#54121D
RGBrgb(84, 18, 29)
HSLhsl(350, 65%, 20%)
HSVhsv(350, 79%, 33%)
CMYKcmyk(0%, 78.6%, 65.5%, 67.1%)
CIE-LABlab(17.49, 30.92, 10.77)
CIE-LCHlch(17.49, 32.74, 19.20°)
OKLaboklab(30.08% 0.0926 0.0263)
OKLCHoklch(30.08% 0.096 15.9)
XYZxyz(4.0946, 2.4067, 1.4111)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54121D #125449
analogous
#54123E #54121D #542812
triadic
#54121D #1D5412 #121D54
tetradic
#54121D #3E5412 #125449 #281254
square
#54121D #3E5412 #125449 #281254
split-complementary
#54121D #125428 #123E54
monochromatic
#190509 #22070C #54121D #861D2E #B92840

Accessibility & contrast

On white

14.18
#54121D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54121D
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54121D#FFFFFF#000000##FFFFFF
##54121D1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221D
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#5D0217
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54121d;
/* rgb */ color: rgb(84, 18, 29);
/* oklch */ color: oklch(30.1% 0.096 15.9);
Tailwind
colors: {
  custom: {
    50: '#895658',
    500: '#54121d',
    950: '#000000',
  },
}
SCSS
$custom: #54121d;
$custom-light: #895658;
$custom-dark: #000000;
JSON
{
  "hex": "#54121d",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 350,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3008,
    "c": 0.09629,
    "h": 15.9
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#54121D
secondary
#358D7E
accent
#E8CC40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54121D

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

Preview Lab → · Contrast checker → · Palette generator →

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