#4E0C12#4E0C12

#4E0C12 is a dark, moderate red. Relative luminance 0.019; OKLCH L 28.0% C 0.096 H 21.6°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#4E0C12
RGBrgb(78, 12, 18)
HSLhsl(355, 73%, 18%)
HSVhsv(355, 85%, 31%)
CMYKcmyk(0%, 84.6%, 76.9%, 69.4%)
CIE-LABlab(15.10, 30.43, 15.08)
CIE-LCHlch(15.10, 33.96, 26.36°)
OKLaboklab(27.99% 0.0894 0.0354)
OKLCHoklch(27.99% 0.096 21.6)
XYZxyz(3.3829, 1.9268, 0.7659)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C12 #0C4E48
analogous
#4E0C33 #4E0C12 #4E270C
triadic
#4E0C12 #124E0C #0C124E
tetradic
#4E0C12 #334E0C #0C4E48 #270C4E
square
#4E0C12 #334E0C #0C4E48 #270C4E
split-complementary
#4E0C12 #0C4E27 #0C334E
monochromatic
#1B0406 #1B0406 #4E0C12 #83141E #B81C2A

Accessibility & contrast

On white

15.16
#4E0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4E0C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C12
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C12#FFFFFF#000000##FFFFFF
##4E0C121.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D12
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#57000F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0c12;
/* rgb */ color: rgb(78, 12, 18);
/* oklch */ color: oklch(28.0% 0.096 21.6);
Tailwind
colors: {
  custom: {
    50: '#85524f',
    500: '#4e0c12',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c12;
$custom-light: #85524f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c12",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 354.545,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27991,
    "c": 0.09612,
    "h": 21.6
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#4E0C12
secondary
#2C8A81
accent
#F0DF38
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4E0C12

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

Preview Lab → · Contrast checker → · Palette generator →

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