#4E170F#4E170F

#4E170F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.3% C 0.085 H 31.0°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4E170F
RGBrgb(78, 23, 15)
HSLhsl(8, 68%, 18%)
HSVhsv(8, 81%, 31%)
CMYKcmyk(0%, 70.5%, 80.8%, 69.4%)
CIE-LABlab(16.83, 25.38, 18.96)
CIE-LCHlch(16.83, 31.68, 36.77°)
OKLaboklab(29.27% 0.0727 0.0436)
OKLCHoklch(29.27% 0.085 31)
XYZxyz(3.5349, 2.2675, 0.7034)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E170F #0F464E
analogous
#4E0F26 #4E170F #4E360F
triadic
#4E170F #0F4E17 #170F4E
tetradic
#4E170F #264E0F #0F464E #360F4E
square
#4E170F #264E0F #0F464E #360F4E
split-complementary
#4E170F #0F4E36 #0F264E
monochromatic
#1A0805 #1B0805 #4E170F #812619 #B53523

Accessibility & contrast

On white

14.45
#4E170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E170F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E170F#FFFFFF#000000##FFFFFF
##4E170F1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220E
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#560915
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e170f;
/* rgb */ color: rgb(78, 23, 15);
/* oklch */ color: oklch(29.3% 0.085 31.0);
Tailwind
colors: {
  custom: {
    50: '#85574e',
    500: '#4e170f',
    950: '#000000',
  },
}
SCSS
$custom: #4e170f;
$custom-light: #85574e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e170f",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 7.619,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.08477,
    "h": 31
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#4E170F
secondary
#317D88
accent
#D5EB3D
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4E170F

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

Preview Lab → · Contrast checker → · Palette generator →

#4E170F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva