#54131C#54131C

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

Color values

HEX#54131C
RGBrgb(84, 19, 28)
HSLhsl(352, 63%, 20%)
HSVhsv(352, 77%, 33%)
CMYKcmyk(0%, 77.4%, 66.7%, 67.1%)
CIE-LABlab(17.62, 30.42, 11.65)
CIE-LCHlch(17.62, 32.57, 20.96°)
OKLaboklab(30.17% 0.0908 0.0283)
OKLCHoklch(30.17% 0.095 17.3)
XYZxyz(4.0990, 2.4350, 1.3525)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54131C #13544B
analogous
#54133D #54131C #542A13
triadic
#54131C #1C5413 #131C54
tetradic
#54131C #3D5413 #13544B #2A1354
square
#54131C #3D5413 #13544B #2A1354
split-complementary
#54131C #13542A #133D54
monochromatic
#190608 #22080B #54131C #861E2D #B82A3D

Accessibility & contrast

On white

14.12
#54131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54131C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54131C#FFFFFF#000000##FFFFFF
##54131C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231C
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#5D0317
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54131c;
/* rgb */ color: rgb(84, 19, 28);
/* oklch */ color: oklch(30.2% 0.095 17.3);
Tailwind
colors: {
  custom: {
    50: '#895657',
    500: '#54131c',
    950: '#000000',
  },
}
SCSS
$custom: #54131c;
$custom-light: #895657;
$custom-dark: #000000;
JSON
{
  "hex": "#54131c",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 351.692,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3017,
    "c": 0.09512,
    "h": 17.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#54131C
secondary
#368C81
accent
#E6CF42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54131C

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

Preview Lab → · Contrast checker → · Palette generator →

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