#54151E#54151E

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

Color values

HEX#54151E
RGBrgb(84, 21, 30)
HSLhsl(351, 60%, 21%)
HSVhsv(351, 75%, 33%)
CMYKcmyk(0%, 75%, 64.3%, 67.1%)
CIE-LABlab(17.99, 29.69, 10.71)
CIE-LCHlch(17.99, 31.57, 19.84°)
OKLaboklab(30.46% 0.0889 0.0263)
OKLCHoklch(30.46% 0.093 16.5)
XYZxyz(4.1591, 2.5155, 1.4946)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54151E #15544B
analogous
#54153D #54151E #542B15
triadic
#54151E #1E5415 #151E54
tetradic
#54151E #3D5415 #15544B #2B1554
square
#54151E #3D5415 #15544B #2B1554
split-complementary
#54151E #15542B #153D54
monochromatic
#180609 #23090D #54151E #85212F #B62D41

Accessibility & contrast

On white

13.97
#54151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54151E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54151E#FFFFFF#000000##FFFFFF
##54151E1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#35311C
Tritanopia (blue-blind)
#5D0619
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54151e;
/* rgb */ color: rgb(84, 21, 30);
/* oklch */ color: oklch(30.5% 0.093 16.5);
Tailwind
colors: {
  custom: {
    50: '#895759',
    500: '#54151e',
    950: '#000000',
  },
}
SCSS
$custom: #54151e;
$custom-light: #895759;
$custom-dark: #000000;
JSON
{
  "hex": "#54151e",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 351.429,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30457,
    "c": 0.09271,
    "h": 16.5
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#54151E
secondary
#398C80
accent
#E3CD45
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54151E

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

Preview Lab → · Contrast checker → · Palette generator →

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