#4E0C17#4E0C17

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

Color values

HEX#4E0C17
RGBrgb(78, 12, 23)
HSLhsl(350, 73%, 18%)
HSVhsv(350, 85%, 31%)
CMYKcmyk(0%, 84.6%, 70.5%, 69.4%)
CIE-LABlab(15.20, 30.74, 11.83)
CIE-LCHlch(15.20, 32.94, 21.05°)
OKLaboklab(28.1% 0.0916 0.0284)
OKLCHoklch(28.1% 0.096 17.2)
XYZxyz(3.4284, 1.9450, 1.0053)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C17 #0C4E43
analogous
#4E0C38 #4E0C17 #4E220C
triadic
#4E0C17 #174E0C #0C174E
tetradic
#4E0C17 #384E0C #0C4E43 #220C4E
square
#4E0C17 #384E0C #0C4E43 #220C4E
split-complementary
#4E0C17 #0C4E22 #0C384E
monochromatic
#1B0408 #1B0408 #4E0C17 #831427 #B81C36

Accessibility & contrast

On white

15.12
#4E0C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C17
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C17#FFFFFF#000000##FFFFFF
##4E0C171.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e0c17;
/* rgb */ color: rgb(78, 12, 23);
/* oklch */ color: oklch(28.1% 0.096 17.2);
Tailwind
colors: {
  custom: {
    50: '#855253',
    500: '#4e0c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c17;
$custom-light: #855253;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c17",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 23
  },
  "hsl": {
    "h": 350,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28095,
    "c": 0.09591,
    "h": 17.2
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#4E0C17
secondary
#2C8A7A
accent
#F0D138
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4E0C17

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

Preview Lab → · Contrast checker → · Palette generator →

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