#4E0F0C#4E0F0C

#4E0F0C is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.2% C 0.094 H 27.7°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#4E0F0C
RGBrgb(78, 15, 12)
HSLhsl(3, 73%, 18%)
HSVhsv(3, 85%, 31%)
CMYKcmyk(0%, 80.8%, 84.6%, 69.4%)
CIE-LABlab(15.43, 28.96, 18.68)
CIE-LCHlch(15.43, 34.46, 32.82°)
OKLaboklab(28.21% 0.0832 0.0437)
OKLCHoklch(28.21% 0.094 27.7)
XYZxyz(3.3795, 1.9884, 0.5536)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F0C #0C4B4E
analogous
#4E0C2A #4E0F0C #4E300C
triadic
#4E0F0C #0C4E0F #0F0C4E
tetradic
#4E0F0C #2A4E0C #0C4B4E #300C4E
square
#4E0F0C #2A4E0C #0C4B4E #300C4E
split-complementary
#4E0F0C #0C4E30 #0C2A4E
monochromatic
#1B0504 #1B0504 #4E0F0C #831914 #B8231C

Accessibility & contrast

On white

15.03
#4E0F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4E0F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F0C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F0C#FFFFFF#000000##FFFFFF
##4E0F0C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0B
Deuteranopia (green-blind)
#312C09
Tritanopia (blue-blind)
#57000F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e0f0c;
/* rgb */ color: rgb(78, 15, 12);
/* oklch */ color: oklch(28.2% 0.094 27.7);
Tailwind
colors: {
  custom: {
    50: '#86534c',
    500: '#4e0f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f0c;
$custom-light: #86534c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f0c",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 12
  },
  "hsl": {
    "h": 2.727,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28206,
    "c": 0.09396,
    "h": 27.7
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#4E0F0C
secondary
#2C858A
accent
#E8F038
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4E0F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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