#54151D#54151D

#54151D is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.093 H 17.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#54151D
RGBrgb(84, 21, 29)
HSLhsl(352, 60%, 21%)
HSVhsv(352, 75%, 33%)
CMYKcmyk(0%, 75%, 65.5%, 67.1%)
CIE-LABlab(17.97, 29.61, 11.39)
CIE-LCHlch(17.97, 31.73, 21.04°)
OKLaboklab(30.43% 0.0884 0.0278)
OKLCHoklch(30.43% 0.093 17.4)
XYZxyz(4.1465, 2.5104, 1.4284)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54151D #15544C
analogous
#54153C #54151D #542C15
triadic
#54151D #1D5415 #151D54
tetradic
#54151D #3C5415 #15544C #2C1554
square
#54151D #3C5415 #15544C #2C1554
split-complementary
#54151D #15542C #153C54
monochromatic
#180608 #23090C #54151D #85212E #B62D3F

Accessibility & contrast

On white

13.98
#54151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#54151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54151D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54151D#FFFFFF#000000##FFFFFF
##54151D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241D
Deuteranopia (green-blind)
#35311B
Tritanopia (blue-blind)
#5D0618
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54151d;
/* rgb */ color: rgb(84, 21, 29);
/* oklch */ color: oklch(30.4% 0.093 17.4);
Tailwind
colors: {
  custom: {
    50: '#895758',
    500: '#54151d',
    950: '#000000',
  },
}
SCSS
$custom: #54151d;
$custom-light: #895758;
$custom-dark: #000000;
JSON
{
  "hex": "#54151d",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 352.381,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30433,
    "c": 0.09271,
    "h": 17.4
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#54151D
secondary
#398C81
accent
#E3CF45
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54151D

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

Preview Lab → · Contrast checker → · Palette generator →

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