#4E1317#4E1317

#4E1317 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.9% C 0.088 H 20.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4E1317
RGBrgb(78, 19, 23)
HSLhsl(356, 61%, 19%)
HSVhsv(356, 76%, 31%)
CMYKcmyk(0%, 75.6%, 70.5%, 69.4%)
CIE-LABlab(16.24, 27.83, 13.17)
CIE-LCHlch(16.24, 30.79, 25.33°)
OKLaboklab(28.88% 0.0823 0.0314)
OKLCHoklch(28.88% 0.088 20.9)
XYZxyz(3.5298, 2.1478, 1.0391)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1317 #134E4A
analogous
#4E1335 #4E1317 #4E2D13
triadic
#4E1317 #174E13 #13174E
tetradic
#4E1317 #354E13 #134E4A #2D134E
square
#4E1317 #354E13 #134E4A #2D134E
split-complementary
#4E1317 #134E2D #13354E
monochromatic
#190607 #1D0708 #4E1317 #7F1F26 #B02B34

Accessibility & contrast

On white

14.69
#4E1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4E1317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1317
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1317#FFFFFF#000000##FFFFFF
##4E13171.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#322D15
Tritanopia (blue-blind)
#560415
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e1317;
/* rgb */ color: rgb(78, 19, 23);
/* oklch */ color: oklch(28.9% 0.088 20.9);
Tailwind
colors: {
  custom: {
    50: '#855553',
    500: '#4e1317',
    950: '#000000',
  },
}
SCSS
$custom: #4e1317;
$custom-light: #855553;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1317",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 355.932,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28875,
    "c": 0.08812,
    "h": 20.9
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#4E1317
secondary
#368781
accent
#E4D944
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1317

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

Preview Lab → · Contrast checker → · Palette generator →

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