#4E0C18#4E0C18

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

Color values

HEX#4E0C18
RGBrgb(78, 12, 24)
HSLhsl(349, 73%, 18%)
HSVhsv(349, 85%, 31%)
CMYKcmyk(0%, 84.6%, 69.2%, 69.4%)
CIE-LABlab(15.22, 30.81, 11.13)
CIE-LCHlch(15.22, 32.76, 19.86°)
OKLaboklab(28.12% 0.0921 0.0269)
OKLCHoklch(28.12% 0.096 16.3)
XYZxyz(3.4386, 1.9491, 1.0591)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C18 #0C4E42
analogous
#4E0C39 #4E0C18 #4E210C
triadic
#4E0C18 #184E0C #0C184E
tetradic
#4E0C18 #394E0C #0C4E42 #210C4E
square
#4E0C18 #394E0C #0C4E42 #210C4E
split-complementary
#4E0C18 #0C4E21 #0C394E
monochromatic
#1B0408 #1B0408 #4E0C18 #831428 #B81C39

Accessibility & contrast

On white

15.11
#4E0C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C18
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C18#FFFFFF#000000##FFFFFF
##4E0C181.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D18
Deuteranopia (green-blind)
#302B16
Tritanopia (blue-blind)
#560011
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0c18;
/* rgb */ color: rgb(78, 12, 24);
/* oklch */ color: oklch(28.1% 0.096 16.3);
Tailwind
colors: {
  custom: {
    50: '#855254',
    500: '#4e0c18',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c18;
$custom-light: #855254;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c18",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 24
  },
  "hsl": {
    "h": 349.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28118,
    "c": 0.09592,
    "h": 16.3
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#4E0C18
secondary
#2C8A79
accent
#F0CF38
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4E0C18

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

Preview Lab → · Contrast checker → · Palette generator →

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