#54151B#54151B

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

Color values

HEX#54151B
RGBrgb(84, 21, 27)
HSLhsl(354, 60%, 21%)
HSVhsv(354, 75%, 33%)
CMYKcmyk(0%, 75%, 67.9%, 67.1%)
CIE-LABlab(17.92, 29.46, 12.75)
CIE-LCHlch(17.92, 32.10, 23.40°)
OKLaboklab(30.39% 0.0875 0.0307)
OKLCHoklch(30.39% 0.093 19.3)
XYZxyz(4.1226, 2.5009, 1.3023)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54151B #15544E
analogous
#54153A #54151B #542E15
triadic
#54151B #1B5415 #151B54
tetradic
#54151B #3A5415 #15544E #2E1554
square
#54151B #3A5415 #15544E #2E1554
split-complementary
#54151B #15542E #153A54
monochromatic
#180608 #23090B #54151B #85212B #B62D3A

Accessibility & contrast

On white

14.00
#54151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54151B
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54151B#FFFFFF#000000##FFFFFF
##54151B1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#5D0518
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54151b;
/* rgb */ color: rgb(84, 21, 27);
/* oklch */ color: oklch(30.4% 0.093 19.3);
Tailwind
colors: {
  custom: {
    50: '#895757',
    500: '#54151b',
    950: '#000000',
  },
}
SCSS
$custom: #54151b;
$custom-light: #895757;
$custom-dark: #000000;
JSON
{
  "hex": "#54151b",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 354.286,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.09277,
    "h": 19.3
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#54151B
secondary
#398C84
accent
#E3D445
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54151B

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

Preview Lab → · Contrast checker → · Palette generator →

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