#4E1917#4E1917

#4E1917 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.081 H 25.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4E1917
RGBrgb(78, 25, 23)
HSLhsl(2, 54%, 20%)
HSVhsv(2, 71%, 31%)
CMYKcmyk(0%, 67.9%, 70.5%, 69.4%)
CIE-LABlab(17.35, 24.84, 14.57)
CIE-LCHlch(17.35, 28.79, 30.40°)
OKLaboklab(29.71% 0.0728 0.0346)
OKLCHoklch(29.71% 0.081 25.4)
XYZxyz(3.6445, 2.3773, 1.0774)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1917 #174C4E
analogous
#4E1731 #4E1917 #4E3517
triadic
#4E1917 #174E19 #19174E
tetradic
#4E1917 #314E17 #174C4E #35174E
square
#4E1917 #314E17 #174C4E #35174E
split-complementary
#4E1917 #174E35 #17314E
monochromatic
#180807 #1F0A09 #4E1917 #7D2825 #AD3733

Accessibility & contrast

On white

14.23
#4E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1917
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1917#FFFFFF#000000##FFFFFF
##4E19171.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272316
Deuteranopia (green-blind)
#342F16
Tritanopia (blue-blind)
#560E19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1917;
/* rgb */ color: rgb(78, 25, 23);
/* oklch */ color: oklch(29.7% 0.081 25.4);
Tailwind
colors: {
  custom: {
    50: '#845853',
    500: '#4e1917',
    950: '#000000',
  },
}
SCSS
$custom: #4e1917;
$custom-light: #845853;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1917",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 2.182,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29707,
    "c": 0.08064,
    "h": 25.4
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#4E1917
secondary
#3C8285
accent
#D8DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1917

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

Preview Lab → · Contrast checker → · Palette generator →

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