#54170E#54170E

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

Color values

HEX#54170E
RGBrgb(84, 23, 14)
HSLhsl(8, 71%, 19%)
HSVhsv(8, 83%, 33%)
CMYKcmyk(0%, 72.6%, 83.3%, 67.1%)
CIE-LABlab(18.05, 27.75, 21.24)
CIE-LCHlch(18.05, 34.95, 37.44°)
OKLaboklab(30.42% 0.0791 0.0479)
OKLCHoklch(30.42% 0.092 31.2)
XYZxyz(4.0423, 2.5299, 0.6909)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54170E #0E4B54
analogous
#540E28 #54170E #543A0E
triadic
#54170E #0E5417 #170E54
tetradic
#54170E #28540E #0E4B54 #3A0E54
square
#54170E #28540E #0E4B54 #3A0E54
split-complementary
#54170E #0E543A #0E2854
monochromatic
#1A0704 #200905 #54170E #882517 #BD341F

Accessibility & contrast

On white

13.95
#54170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54170E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54170E#FFFFFF#000000##FFFFFF
##54170E1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240D
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#5D0615
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #54170e;
/* rgb */ color: rgb(84, 23, 14);
/* oklch */ color: oklch(30.4% 0.092 31.2);
Tailwind
colors: {
  custom: {
    50: '#8a584d',
    500: '#54170e',
    950: '#000000',
  },
}
SCSS
$custom: #54170e;
$custom-light: #8a584d;
$custom-dark: #000000;
JSON
{
  "hex": "#54170e",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 7.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30416,
    "c": 0.09247,
    "h": 31.2
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#54170E
secondary
#2F828E
accent
#D7EE3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54170E

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

Preview Lab → · Contrast checker → · Palette generator →

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