#4E1E18#4E1E18

#4E1E18 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.074 H 29.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4E1E18
RGBrgb(78, 30, 24)
HSLhsl(7, 53%, 20%)
HSVhsv(7, 69%, 31%)
CMYKcmyk(0%, 61.5%, 69.2%, 69.4%)
CIE-LABlab(18.43, 22.14, 15.23)
CIE-LCHlch(18.43, 26.87, 34.52°)
OKLaboklab(30.52% 0.0646 0.0362)
OKLCHoklch(30.52% 0.074 29.3)
XYZxyz(3.7714, 2.6147, 1.1701)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E18 #18484E
analogous
#4E182D #4E1E18 #4E3918
triadic
#4E1E18 #184E1E #1E184E
tetradic
#4E1E18 #2D4E18 #18484E #39184E
square
#4E1E18 #2D4E18 #18484E #39184E
split-complementary
#4E1E18 #184E39 #182D4E
monochromatic
#170907 #1F0C0A #4E1E18 #7D3026 #AC4235

Accessibility & contrast

On white

13.79
#4E1E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E1E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E18
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E18#FFFFFF#000000##FFFFFF
##4E1E181.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2717
Deuteranopia (green-blind)
#363117
Tritanopia (blue-blind)
#56151D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1e18;
/* rgb */ color: rgb(78, 30, 24);
/* oklch */ color: oklch(30.5% 0.074 29.3);
Tailwind
colors: {
  custom: {
    50: '#845b54',
    500: '#4e1e18',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e18;
$custom-light: #845b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e18",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 6.667,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30524,
    "c": 0.07405,
    "h": 29.3
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#4E1E18
secondary
#3D7D85
accent
#CCDC4B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0402
muted
#7C7978

Preview Lab

Preview with #4E1E18

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

Preview Lab → · Contrast checker → · Palette generator →

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