#4E120C#4E120C

#4E120C is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.6% C 0.091 H 29.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#4E120C
RGBrgb(78, 18, 12)
HSLhsl(5, 73%, 18%)
HSVhsv(5, 85%, 31%)
CMYKcmyk(0%, 76.9%, 84.6%, 69.4%)
CIE-LABlab(15.90, 27.65, 19.28)
CIE-LCHlch(15.90, 33.71, 34.88°)
OKLaboklab(28.56% 0.0791 0.0448)
OKLCHoklch(28.56% 0.091 29.5)
XYZxyz(3.4249, 2.0794, 0.5688)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E120C #0C484E
analogous
#4E0C27 #4E120C #4E330C
triadic
#4E120C #0C4E12 #120C4E
tetradic
#4E120C #274E0C #0C484E #330C4E
square
#4E120C #274E0C #0C484E #330C4E
split-complementary
#4E120C #0C4E33 #0C274E
monochromatic
#1B0604 #1B0604 #4E120C #831E14 #B82A1C

Accessibility & contrast

On white

14.83
#4E120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4E120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E120C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E120C#FFFFFF#000000##FFFFFF
##4E120C1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0B
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#570111
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e120c;
/* rgb */ color: rgb(78, 18, 12);
/* oklch */ color: oklch(28.6% 0.091 29.5);
Tailwind
colors: {
  custom: {
    50: '#85544c',
    500: '#4e120c',
    950: '#000000',
  },
}
SCSS
$custom: #4e120c;
$custom-light: #85544c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e120c",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 5.455,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.09089,
    "h": 29.5
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#4E120C
secondary
#2C818A
accent
#DFF038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4E120C

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

Preview Lab → · Contrast checker → · Palette generator →

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