#54111F#54111F

#54111F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.098 H 13.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#54111F
RGBrgb(84, 17, 31)
HSLhsl(347, 66%, 20%)
HSVhsv(347, 80%, 33%)
CMYKcmyk(0%, 79.8%, 63.1%, 67.1%)
CIE-LABlab(17.39, 31.49, 9.20)
CIE-LCHlch(17.39, 32.81, 16.29°)
OKLaboklab(30.02% 0.0948 0.0228)
OKLCHoklch(30.02% 0.098 13.5)
XYZxyz(4.1043, 2.3852, 1.5403)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54111F #115446
analogous
#541140 #54111F #542511
triadic
#54111F #1F5411 #111F54
tetradic
#54111F #405411 #115446 #251154
square
#54111F #405411 #115446 #251154
split-complementary
#54111F #115425 #114054
monochromatic
#190509 #21070C #54111F #871B32 #BA2645

Accessibility & contrast

On white

14.22
#54111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#54111F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54111F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54111F#FFFFFF#000000##FFFFFF
##54111F1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#5D0117
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54111f;
/* rgb */ color: rgb(84, 17, 31);
/* oklch */ color: oklch(30.0% 0.098 13.5);
Tailwind
colors: {
  custom: {
    50: '#89555a',
    500: '#54111f',
    950: '#000000',
  },
}
SCSS
$custom: #54111f;
$custom-light: #89555a;
$custom-dark: #000000;
JSON
{
  "hex": "#54111f",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 347.463,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30021,
    "c": 0.09754,
    "h": 13.5
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#54111F
secondary
#348D7A
accent
#E9C63F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54111F

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

Preview Lab → · Contrast checker → · Palette generator →

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