#54140F#54140F

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

Color values

HEX#54140F
RGBrgb(84, 20, 15)
HSLhsl(4, 70%, 19%)
HSVhsv(4, 82%, 33%)
CMYKcmyk(0%, 76.2%, 82.1%, 67.1%)
CIE-LABlab(17.55, 29.19, 20.13)
CIE-LCHlch(17.55, 35.46, 34.59°)
OKLaboklab(30.05% 0.0838 0.0457)
OKLCHoklch(30.05% 0.095 28.6)
XYZxyz(3.9930, 2.4202, 0.7087)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54140F #0F4F54
analogous
#540F2D #54140F #54370F
triadic
#54140F #0F5414 #140F54
tetradic
#54140F #2D540F #0F4F54 #370F54
square
#54140F #2D540F #0F4F54 #370F54
split-complementary
#54140F #0F5437 #0F2D54
monochromatic
#1A0605 #200806 #54140F #882018 #BC2D22

Accessibility & contrast

On white

14.15
#54140F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54140F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54140F#FFFFFF#000000##FFFFFF
##54140F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#5D0113
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54140f;
/* rgb */ color: rgb(84, 20, 15);
/* oklch */ color: oklch(30.0% 0.095 28.6);
Tailwind
colors: {
  custom: {
    50: '#8a564e',
    500: '#54140f',
    950: '#000000',
  },
}
SCSS
$custom: #54140f;
$custom-light: #8a564e;
$custom-dark: #000000;
JSON
{
  "hex": "#54140f",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 15
  },
  "hsl": {
    "h": 4.348,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30046,
    "c": 0.09545,
    "h": 28.6
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#54140F
secondary
#31878E
accent
#E0ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54140F

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

Preview Lab → · Contrast checker → · Palette generator →

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