#54191F#54191F

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

Color values

HEX#54191F
RGBrgb(84, 25, 31)
HSLhsl(354, 54%, 21%)
HSVhsv(354, 70%, 33%)
CMYKcmyk(0%, 70.2%, 63.1%, 67.1%)
CIE-LABlab(18.71, 27.87, 10.97)
CIE-LCHlch(18.71, 29.95, 21.49°)
OKLaboklab(31.01% 0.0833 0.027)
OKLCHoklch(31.01% 0.088 17.9)
XYZxyz(4.2515, 2.6796, 1.5894)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54191F #19544E
analogous
#54193D #54191F #543119
triadic
#54191F #1F5419 #191F54
tetradic
#54191F #3D5419 #19544E #311954
square
#54191F #3D5419 #19544E #311954
split-complementary
#54191F #195431 #193D54
monochromatic
#180709 #250B0E #54191F #832730 #B23542

Accessibility & contrast

On white

13.67
#54191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#54191F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54191F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54191F#FFFFFF#000000##FFFFFF
##54191F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#37321E
Tritanopia (blue-blind)
#5C0D1C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #54191f;
/* rgb */ color: rgb(84, 25, 31);
/* oklch */ color: oklch(31.0% 0.088 17.9);
Tailwind
colors: {
  custom: {
    50: '#89595a',
    500: '#54191f',
    950: '#000000',
  },
}
SCSS
$custom: #54191f;
$custom-light: #89595a;
$custom-dark: #000000;
JSON
{
  "hex": "#54191f",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 353.898,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31005,
    "c": 0.08754,
    "h": 17.9
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#54191F
secondary
#3E8A83
accent
#DDCF4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54191F

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

Preview Lab → · Contrast checker → · Palette generator →

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