#54150F#54150F

#54150F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.094 H 29.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#54150F
RGBrgb(84, 21, 15)
HSLhsl(5, 70%, 19%)
HSVhsv(5, 82%, 33%)
CMYKcmyk(0%, 75%, 82.1%, 67.1%)
CIE-LABlab(17.72, 28.73, 20.33)
CIE-LCHlch(17.72, 35.20, 35.28°)
OKLaboklab(30.17% 0.0824 0.0461)
OKLCHoklch(30.17% 0.094 29.2)
XYZxyz(4.0110, 2.4562, 0.7147)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54150F #0F4E54
analogous
#540F2C #54150F #54380F
triadic
#54150F #0F5415 #150F54
tetradic
#54150F #2C540F #0F4E54 #380F54
square
#54150F #2C540F #0F4E54 #380F54
split-complementary
#54150F #0F5438 #0F2C54
monochromatic
#1A0605 #200806 #54150F #882218 #BC2F22

Accessibility & contrast

On white

14.08
#54150F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#54150F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54150F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54150F#FFFFFF#000000##FFFFFF
##54150F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230E
Deuteranopia (green-blind)
#37300D
Tritanopia (blue-blind)
#5D0214
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54150f;
/* rgb */ color: rgb(84, 21, 15);
/* oklch */ color: oklch(30.2% 0.094 29.2);
Tailwind
colors: {
  custom: {
    50: '#8a574e',
    500: '#54150f',
    950: '#000000',
  },
}
SCSS
$custom: #54150f;
$custom-light: #8a574e;
$custom-dark: #000000;
JSON
{
  "hex": "#54150f",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 15
  },
  "hsl": {
    "h": 5.217,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3017,
    "c": 0.0944,
    "h": 29.2
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#54150F
secondary
#31868E
accent
#DDED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54150F

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

Preview Lab → · Contrast checker → · Palette generator →

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