#4E0C1C#4E0C1C

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

Color values

HEX#4E0C1C
RGBrgb(78, 12, 28)
HSLhsl(345, 73%, 18%)
HSVhsv(345, 85%, 31%)
CMYKcmyk(0%, 84.6%, 64.1%, 69.4%)
CIE-LABlab(15.31, 31.11, 8.34)
CIE-LCHlch(15.31, 32.21, 15.01°)
OKLaboklab(28.22% 0.0939 0.0207)
OKLCHoklch(28.22% 0.096 12.4)
XYZxyz(3.4833, 1.9670, 1.2946)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C1C #0C4E3E
analogous
#4E0C3D #4E0C1C #4E1D0C
triadic
#4E0C1C #1C4E0C #0C1C4E
tetradic
#4E0C1C #3D4E0C #0C4E3E #1D0C4E
square
#4E0C1C #3D4E0C #0C4E3E #1D0C4E
split-complementary
#4E0C1C #0C4E1D #0C3D4E
monochromatic
#1B040A #1B040A #4E0C1C #83142F #B81C42

Accessibility & contrast

On white

15.07
#4E0C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C1C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C1C#FFFFFF#000000##FFFFFF
##4E0C1C1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1C
Deuteranopia (green-blind)
#2F2B1A
Tritanopia (blue-blind)
#560013
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0c1c;
/* rgb */ color: rgb(78, 12, 28);
/* oklch */ color: oklch(28.2% 0.096 12.4);
Tailwind
colors: {
  custom: {
    50: '#855257',
    500: '#4e0c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c1c;
$custom-light: #855257;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c1c",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 28
  },
  "hsl": {
    "h": 345.455,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28219,
    "c": 0.09616,
    "h": 12.4
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#4E0C1C
secondary
#2C8A73
accent
#F0C338
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0203
muted
#7D7878

Preview Lab

Preview with #4E0C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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