#54151F#54151F

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

Color values

HEX#54151F
RGBrgb(84, 21, 31)
HSLhsl(350, 60%, 21%)
HSVhsv(350, 75%, 33%)
CMYKcmyk(0%, 75%, 63.1%, 67.1%)
CIE-LABlab(18.01, 29.77, 10.04)
CIE-LCHlch(18.01, 31.42, 18.63°)
OKLaboklab(30.48% 0.0894 0.0248)
OKLCHoklch(30.48% 0.093 15.5)
XYZxyz(4.1720, 2.5207, 1.5629)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54151F #15544A
analogous
#54153E #54151F #542A15
triadic
#54151F #1F5415 #151F54
tetradic
#54151F #3E5415 #15544A #2A1554
square
#54151F #3E5415 #15544A #2A1554
split-complementary
#54151F #15542A #153E54
monochromatic
#180609 #23090D #54151F #852131 #B62D43

Accessibility & contrast

On white

13.96
#54151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54151F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54151F#FFFFFF#000000##FFFFFF
##54151F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54151f;
/* rgb */ color: rgb(84, 21, 31);
/* oklch */ color: oklch(30.5% 0.093 15.5);
Tailwind
colors: {
  custom: {
    50: '#89575a',
    500: '#54151f',
    950: '#000000',
  },
}
SCSS
$custom: #54151f;
$custom-light: #89575a;
$custom-dark: #000000;
JSON
{
  "hex": "#54151f",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 350.476,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30482,
    "c": 0.09272,
    "h": 15.5
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#54151F
secondary
#398C7F
accent
#E3CA45
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54151F

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

Preview Lab → · Contrast checker → · Palette generator →

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