#4E1812#4E1812

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

Color values

HEX#4E1812
RGBrgb(78, 24, 18)
HSLhsl(6, 63%, 19%)
HSVhsv(6, 77%, 31%)
CMYKcmyk(0%, 69.2%, 76.9%, 69.4%)
CIE-LABlab(17.07, 25.03, 17.55)
CIE-LCHlch(17.07, 30.57, 35.03°)
OKLaboklab(29.47% 0.0723 0.0406)
OKLCHoklch(29.47% 0.083 29.3)
XYZxyz(3.5781, 2.3171, 0.8310)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1812 #12484E
analogous
#4E122A #4E1812 #4E3612
triadic
#4E1812 #124E18 #18124E
tetradic
#4E1812 #2A4E12 #12484E #36124E
square
#4E1812 #2A4E12 #12484E #36124E
split-complementary
#4E1812 #124E36 #122A4E
monochromatic
#190806 #1C0907 #4E1812 #80271D #B13729

Accessibility & contrast

On white

14.35
#4E1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1812
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1812#FFFFFF#000000##FFFFFF
##4E18121.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#560B17
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1812;
/* rgb */ color: rgb(78, 24, 18);
/* oklch */ color: oklch(29.5% 0.083 29.3);
Tailwind
colors: {
  custom: {
    50: '#855850',
    500: '#4e1812',
    950: '#000000',
  },
}
SCSS
$custom: #4e1812;
$custom-light: #855850;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1812",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 6,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29465,
    "c": 0.0829,
    "h": 29.3
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#4E1812
secondary
#357F87
accent
#D5E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1812

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

Preview Lab → · Contrast checker → · Palette generator →

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