#4E0C07#4E0C07

#4E0C07 is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.8% C 0.098 H 29.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#4E0C07
RGBrgb(78, 12, 7)
HSLhsl(4, 84%, 17%)
HSVhsv(4, 91%, 31%)
CMYKcmyk(0%, 84.6%, 91%, 69.4%)
CIE-LABlab(14.95, 29.93, 20.15)
CIE-LCHlch(14.95, 36.08, 33.95°)
OKLaboklab(27.83% 0.085 0.0479)
OKLCHoklch(27.83% 0.098 29.4)
XYZxyz(3.3121, 1.8985, 0.3930)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C07 #07494E
analogous
#4E0726 #4E0C07 #4E3007
triadic
#4E0C07 #074E0C #0C074E
tetradic
#4E0C07 #264E07 #07494E #30074E
square
#4E0C07 #264E07 #07494E #30074E
split-complementary
#4E0C07 #074E30 #07264E
monochromatic
#1C0403 #1C0403 #4E0C07 #86150C #BE1D11

Accessibility & contrast

On white

15.22
#4E0C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4E0C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C07
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C07#FFFFFF#000000##FFFFFF
##4E0C071.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C06
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#57000C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0c07;
/* rgb */ color: rgb(78, 12, 7);
/* oklch */ color: oklch(27.8% 0.098 29.4);
Tailwind
colors: {
  custom: {
    50: '#865249',
    500: '#4e0c07',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c07;
$custom-light: #865249;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c07",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 7
  },
  "hsl": {
    "h": 4.225,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27829,
    "c": 0.09759,
    "h": 29.4
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#4E0C07
secondary
#25858C
accent
#EBFA2E
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0201
muted
#7D7877

Preview Lab

Preview with #4E0C07

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

Preview Lab → · Contrast checker → · Palette generator →

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