#54170F#54170F

#54170F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.092 H 30.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#54170F
RGBrgb(84, 23, 15)
HSLhsl(7, 70%, 19%)
HSVhsv(7, 82%, 33%)
CMYKcmyk(0%, 72.6%, 82.1%, 67.1%)
CIE-LABlab(18.07, 27.79, 20.74)
CIE-LCHlch(18.07, 34.68, 36.74°)
OKLaboklab(30.43% 0.0795 0.0469)
OKLCHoklch(30.43% 0.092 30.5)
XYZxyz(4.0492, 2.5327, 0.7275)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54170F #0F4C54
analogous
#540F29 #54170F #543A0F
triadic
#54170F #0F5417 #170F54
tetradic
#54170F #29540F #0F4C54 #3A0F54
square
#54170F #29540F #0F4C54 #3A0F54
split-complementary
#54170F #0F543A #0F2954
monochromatic
#1A0705 #200906 #54170F #882518 #BC3322

Accessibility & contrast

On white

13.94
#54170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#54170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54170F
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54170F#FFFFFF#000000##FFFFFF
##54170F1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240E
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#5D0616
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54170f;
/* rgb */ color: rgb(84, 23, 15);
/* oklch */ color: oklch(30.4% 0.092 30.5);
Tailwind
colors: {
  custom: {
    50: '#8a584e',
    500: '#54170f',
    950: '#000000',
  },
}
SCSS
$custom: #54170f;
$custom-light: #8a584e;
$custom-dark: #000000;
JSON
{
  "hex": "#54170f",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 6.957,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.09225,
    "h": 30.5
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#54170F
secondary
#31838E
accent
#D8ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54170F

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

Preview Lab → · Contrast checker → · Palette generator →

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