#54131D#54131D

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

Color values

HEX#54131D
RGBrgb(84, 19, 29)
HSLhsl(351, 63%, 20%)
HSVhsv(351, 77%, 33%)
CMYKcmyk(0%, 77.4%, 65.5%, 67.1%)
CIE-LABlab(17.64, 30.49, 10.97)
CIE-LCHlch(17.64, 32.41, 19.78°)
OKLaboklab(30.19% 0.0913 0.0268)
OKLCHoklch(30.19% 0.095 16.4)
XYZxyz(4.1112, 2.4399, 1.4166)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54131D #13544A
analogous
#54133E #54131D #542913
triadic
#54131D #1D5413 #131D54
tetradic
#54131D #3E5413 #13544A #291354
square
#54131D #3E5413 #13544A #291354
split-complementary
#54131D #135429 #133E54
monochromatic
#190609 #22080C #54131D #861E2E #B82A3F

Accessibility & contrast

On white

14.11
#54131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54131D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54131D#FFFFFF#000000##FFFFFF
##54131D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54131d;
/* rgb */ color: rgb(84, 19, 29);
/* oklch */ color: oklch(30.2% 0.095 16.4);
Tailwind
colors: {
  custom: {
    50: '#895658',
    500: '#54131d',
    950: '#000000',
  },
}
SCSS
$custom: #54131d;
$custom-light: #895658;
$custom-dark: #000000;
JSON
{
  "hex": "#54131d",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 350.769,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30194,
    "c": 0.09512,
    "h": 16.4
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#54131D
secondary
#368C7F
accent
#E6CD42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54131D

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

Preview Lab → · Contrast checker → · Palette generator →

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