#54130C#54130C

#54130C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.097 H 29.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#54130C
RGBrgb(84, 19, 12)
HSLhsl(6, 75%, 19%)
HSVhsv(6, 86%, 33%)
CMYKcmyk(0%, 77.4%, 85.7%, 67.1%)
CIE-LABlab(17.36, 29.50, 21.37)
CIE-LCHlch(17.36, 36.42, 35.91°)
OKLaboklab(29.89% 0.0841 0.0484)
OKLCHoklch(29.89% 0.097 29.9)
XYZxyz(3.9559, 2.3777, 0.5984)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54130C #0C4D54
analogous
#540C29 #54130C #54370C
triadic
#54130C #0C5413 #130C54
tetradic
#54130C #29540C #0C4D54 #370C54
square
#54130C #29540C #0C4D54 #370C54
split-complementary
#54130C #0C5437 #0C2954
monochromatic
#1B0604 #1E0704 #54130C #8A1F14 #BF2B1B

Accessibility & contrast

On white

14.23
#54130C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54130C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54130C#FFFFFF#000000##FFFFFF
##54130C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220B
Deuteranopia (green-blind)
#363009
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54130c;
/* rgb */ color: rgb(84, 19, 12);
/* oklch */ color: oklch(29.9% 0.097 29.9);
Tailwind
colors: {
  custom: {
    50: '#8b564c',
    500: '#54130c',
    950: '#000000',
  },
}
SCSS
$custom: #54130c;
$custom-light: #8b564c;
$custom-dark: #000000;
JSON
{
  "hex": "#54130c",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 12
  },
  "hsl": {
    "h": 5.833,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29886,
    "c": 0.09703,
    "h": 29.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#54130C
secondary
#2D868F
accent
#DFF236
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54130C

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

Preview Lab → · Contrast checker → · Palette generator →

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