#4E0C0F#4E0C0F

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

Color values

HEX#4E0C0F
RGBrgb(78, 12, 15)
HSLhsl(357, 73%, 18%)
HSVhsv(357, 85%, 31%)
CMYKcmyk(0%, 84.6%, 80.8%, 69.4%)
CIE-LABlab(15.05, 30.27, 16.72)
CIE-LCHlch(15.05, 34.58, 28.92°)
OKLaboklab(27.94% 0.0881 0.0392)
OKLCHoklch(27.94% 0.096 24)
XYZxyz(3.3600, 1.9177, 0.6451)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C0F #0C4E4B
analogous
#4E0C30 #4E0C0F #4E2A0C
triadic
#4E0C0F #0F4E0C #0C0F4E
tetradic
#4E0C0F #304E0C #0C4E4B #2A0C4E
square
#4E0C0F #304E0C #0C4E4B #2A0C4E
split-complementary
#4E0C0F #0C4E2A #0C304E
monochromatic
#1B0405 #1B0405 #4E0C0F #831419 #B81C23

Accessibility & contrast

On white

15.18
#4E0C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C0F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C0F#FFFFFF#000000##FFFFFF
##4E0C0F1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D0E
Deuteranopia (green-blind)
#302B0D
Tritanopia (blue-blind)
#57000E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0c0f;
/* rgb */ color: rgb(78, 12, 15);
/* oklch */ color: oklch(27.9% 0.096 24.0);
Tailwind
colors: {
  custom: {
    50: '#86524d',
    500: '#4e0c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c0f;
$custom-light: #86524d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c0f",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 15
  },
  "hsl": {
    "h": 357.273,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27939,
    "c": 0.09642,
    "h": 24
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#4E0C0F
secondary
#2C8A85
accent
#F0E838
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0201
muted
#7D7877

Preview Lab

Preview with #4E0C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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