#54131A#54131A

#54131A is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.095 H 19.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#54131A
RGBrgb(84, 19, 26)
HSLhsl(354, 63%, 20%)
HSVhsv(354, 77%, 33%)
CMYKcmyk(0%, 77.4%, 69%, 67.1%)
CIE-LABlab(17.58, 30.27, 13.01)
CIE-LCHlch(17.58, 32.95, 23.26°)
OKLaboklab(30.12% 0.0899 0.0312)
OKLCHoklch(30.12% 0.095 19.2)
XYZxyz(4.0759, 2.4257, 1.2307)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54131A #13544D
analogous
#54133B #54131A #542C13
triadic
#54131A #1A5413 #131A54
tetradic
#54131A #3B5413 #13544D #2C1354
square
#54131A #3B5413 #13544D #2C1354
split-complementary
#54131A #13542C #133B54
monochromatic
#190608 #22080B #54131A #861E29 #B82A39

Accessibility & contrast

On white

14.14
#54131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#54131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54131A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54131A#FFFFFF#000000##FFFFFF
##54131A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25221A
Deuteranopia (green-blind)
#353018
Tritanopia (blue-blind)
#5D0216
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54131a;
/* rgb */ color: rgb(84, 19, 26);
/* oklch */ color: oklch(30.1% 0.095 19.2);
Tailwind
colors: {
  custom: {
    50: '#895656',
    500: '#54131a',
    950: '#000000',
  },
}
SCSS
$custom: #54131a;
$custom-light: #895656;
$custom-dark: #000000;
JSON
{
  "hex": "#54131a",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 353.538,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30124,
    "c": 0.09517,
    "h": 19.2
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#54131A
secondary
#368C83
accent
#E6D442
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54131A

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

Preview Lab → · Contrast checker → · Palette generator →

#54131A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva