#54121E#54121E

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

Color values

HEX#54121E
RGBrgb(84, 18, 30)
HSLhsl(349, 65%, 20%)
HSVhsv(349, 79%, 33%)
CMYKcmyk(0%, 78.6%, 64.3%, 67.1%)
CIE-LABlab(17.51, 31.00, 10.08)
CIE-LCHlch(17.51, 32.60, 18.02°)
OKLaboklab(30.1% 0.0931 0.0248)
OKLCHoklch(30.1% 0.096 14.9)
XYZxyz(4.1072, 2.4118, 1.4773)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54121E #125448
analogous
#54123F #54121E #542712
triadic
#54121E #1E5412 #121E54
tetradic
#54121E #3F5412 #125448 #271254
square
#54121E #3F5412 #125448 #271254
split-complementary
#54121E #125427 #123F54
monochromatic
#190509 #22070C #54121E #861D30 #B92842

Accessibility & contrast

On white

14.17
#54121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54121E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54121E#FFFFFF#000000##FFFFFF
##54121E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#34301C
Tritanopia (blue-blind)
#5D0217
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54121e;
/* rgb */ color: rgb(84, 18, 30);
/* oklch */ color: oklch(30.1% 0.096 14.9);
Tailwind
colors: {
  custom: {
    50: '#895659',
    500: '#54121e',
    950: '#000000',
  },
}
SCSS
$custom: #54121e;
$custom-light: #895659;
$custom-dark: #000000;
JSON
{
  "hex": "#54121e",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 349.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30105,
    "c": 0.09633,
    "h": 14.9
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#54121E
secondary
#358D7D
accent
#E8C940
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54121E

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

Preview Lab → · Contrast checker → · Palette generator →

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