#54121C#54121C

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

Color values

HEX#54121C
RGBrgb(84, 18, 28)
HSLhsl(351, 65%, 20%)
HSVhsv(351, 79%, 33%)
CMYKcmyk(0%, 78.6%, 66.7%, 67.1%)
CIE-LABlab(17.47, 30.84, 11.45)
CIE-LCHlch(17.47, 32.90, 20.37°)
OKLaboklab(30.06% 0.0922 0.0278)
OKLCHoklch(30.06% 0.096 16.8)
XYZxyz(4.0825, 2.4019, 1.3470)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54121C #12544A
analogous
#54123D #54121C #542912
triadic
#54121C #1C5412 #121C54
tetradic
#54121C #3D5412 #12544A #291254
square
#54121C #3D5412 #12544A #291254
split-complementary
#54121C #125429 #123D54
monochromatic
#190508 #22070B #54121C #861D2D #B9283E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54121C#FFFFFF#000000##FFFFFF
##54121C1.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)
#24221C
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#5D0116
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54121c;
/* rgb */ color: rgb(84, 18, 28);
/* oklch */ color: oklch(30.1% 0.096 16.8);
Tailwind
colors: {
  custom: {
    50: '#895657',
    500: '#54121c',
    950: '#000000',
  },
}
SCSS
$custom: #54121c;
$custom-light: #895657;
$custom-dark: #000000;
JSON
{
  "hex": "#54121c",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 350.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.09627,
    "h": 16.8
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#54121C
secondary
#358D7F
accent
#E8CE40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54121C

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

Preview Lab → · Contrast checker → · Palette generator →

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