#54151C#54151C

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

Color values

HEX#54151C
RGBrgb(84, 21, 28)
HSLhsl(353, 60%, 21%)
HSVhsv(353, 75%, 33%)
CMYKcmyk(0%, 75%, 66.7%, 67.1%)
CIE-LABlab(17.94, 29.53, 12.07)
CIE-LCHlch(17.94, 31.90, 22.23°)
OKLaboklab(30.41% 0.088 0.0293)
OKLCHoklch(30.41% 0.093 18.4)
XYZxyz(4.1343, 2.5056, 1.3643)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54151C #15544D
analogous
#54153B #54151C #542D15
triadic
#54151C #1C5415 #151C54
tetradic
#54151C #3B5415 #15544D #2D1554
square
#54151C #3B5415 #15544D #2D1554
split-complementary
#54151C #15542D #153B54
monochromatic
#180608 #23090C #54151C #85212C #B62D3D

Accessibility & contrast

On white

13.99
#54151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54151C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54151C#FFFFFF#000000##FFFFFF
##54151C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231C
Deuteranopia (green-blind)
#36311A
Tritanopia (blue-blind)
#5D0618
Achromatopsia (no color)
#2C2C2C

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#54151C
secondary
#398C83
accent
#E3D245
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54151C

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

Preview Lab → · Contrast checker → · Palette generator →

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