#4E1C12#4E1C12

#4E1C12 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.078 H 33.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#4E1C12
RGBrgb(78, 28, 18)
HSLhsl(10, 63%, 19%)
HSVhsv(10, 77%, 31%)
CMYKcmyk(0%, 64.1%, 76.9%, 69.4%)
CIE-LABlab(17.89, 22.85, 18.54)
CIE-LCHlch(17.89, 29.43, 39.05°)
OKLaboklab(30.09% 0.0655 0.0427)
OKLCHoklch(30.09% 0.078 33.1)
XYZxyz(3.6667, 2.4944, 0.8605)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C12 #12444E
analogous
#4E1226 #4E1C12 #4E3A12
triadic
#4E1C12 #124E1C #1C124E
tetradic
#4E1C12 #264E12 #12444E #3A124E
square
#4E1C12 #264E12 #12444E #3A124E
split-complementary
#4E1C12 #124E3A #12264E
monochromatic
#190906 #1C0A07 #4E1C12 #802E1D #B14029

Accessibility & contrast

On white

14.01
#4E1C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C12
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C12#FFFFFF#000000##FFFFFF
##4E1C121.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#56111A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1c12;
/* rgb */ color: rgb(78, 28, 18);
/* oklch */ color: oklch(30.1% 0.078 33.1);
Tailwind
colors: {
  custom: {
    50: '#845a50',
    500: '#4e1c12',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c12;
$custom-light: #845a50;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c12",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 10,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30086,
    "c": 0.07818,
    "h": 33.1
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#4E1C12
secondary
#357987
accent
#CAE642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #4E1C12

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

Preview Lab → · Contrast checker → · Palette generator →

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