#54191B#54191B

#54191B is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.088 H 21.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#54191B
RGBrgb(84, 25, 27)
HSLhsl(358, 54%, 21%)
HSVhsv(358, 70%, 33%)
CMYKcmyk(0%, 70.2%, 67.9%, 67.1%)
CIE-LABlab(18.63, 27.55, 13.65)
CIE-LCHlch(18.63, 30.74, 26.37°)
OKLaboklab(30.91% 0.0815 0.0328)
OKLCHoklch(30.91% 0.088 21.9)
XYZxyz(4.2020, 2.6598, 1.3288)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54191B #195452
analogous
#541939 #54191B #543519
triadic
#54191B #1B5419 #191B54
tetradic
#54191B #395419 #195452 #351954
square
#54191B #395419 #195452 #351954
split-complementary
#54191B #195435 #193954
monochromatic
#180708 #250B0C #54191B #83272A #B23539

Accessibility & contrast

On white

13.71
#54191B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#54191B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54191B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54191B#FFFFFF#000000##FFFFFF
##54191B1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#373219
Tritanopia (blue-blind)
#5D0C1A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #54191b;
/* rgb */ color: rgb(84, 25, 27);
/* oklch */ color: oklch(30.9% 0.088 21.9);
Tailwind
colors: {
  custom: {
    50: '#895957',
    500: '#54191b',
    950: '#000000',
  },
}
SCSS
$custom: #54191b;
$custom-light: #895957;
$custom-dark: #000000;
JSON
{
  "hex": "#54191b",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 27
  },
  "hsl": {
    "h": 357.966,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.08781,
    "h": 21.9
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#54191B
secondary
#3E8A88
accent
#DDD94A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54191B

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

Preview Lab → · Contrast checker → · Palette generator →

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