#54131B#54131B

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

Color values

HEX#54131B
RGBrgb(84, 19, 27)
HSLhsl(353, 63%, 20%)
HSVhsv(353, 77%, 33%)
CMYKcmyk(0%, 77.4%, 67.9%, 67.1%)
CIE-LABlab(17.60, 30.34, 12.33)
CIE-LCHlch(17.60, 32.75, 22.11°)
OKLaboklab(30.15% 0.0904 0.0298)
OKLCHoklch(30.15% 0.095 18.2)
XYZxyz(4.0873, 2.4303, 1.2906)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54131B #13544C
analogous
#54133C #54131B #542B13
triadic
#54131B #1B5413 #131B54
tetradic
#54131B #3C5413 #13544C #2B1354
square
#54131B #3C5413 #13544C #2B1354
split-complementary
#54131B #13542B #133C54
monochromatic
#190608 #22080B #54131B #861E2B #B82A3B

Accessibility & contrast

On white

14.13
#54131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54131B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54131B#FFFFFF#000000##FFFFFF
##54131B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54131b;
/* rgb */ color: rgb(84, 19, 27);
/* oklch */ color: oklch(30.1% 0.095 18.2);
Tailwind
colors: {
  custom: {
    50: '#895657',
    500: '#54131b',
    950: '#000000',
  },
}
SCSS
$custom: #54131b;
$custom-light: #895657;
$custom-dark: #000000;
JSON
{
  "hex": "#54131b",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 352.615,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.09513,
    "h": 18.2
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#54131B
secondary
#368C82
accent
#E6D242
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54131B

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

Preview Lab → · Contrast checker → · Palette generator →

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