#4E1218#4E1218

#4E1218 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.8% C 0.089 H 19.3°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#4E1218
RGBrgb(78, 18, 24)
HSLhsl(354, 63%, 19%)
HSVhsv(354, 77%, 31%)
CMYKcmyk(0%, 76.9%, 69.2%, 69.4%)
CIE-LABlab(16.10, 28.36, 12.27)
CIE-LCHlch(16.10, 30.90, 23.40°)
OKLaboklab(28.77% 0.0842 0.0295)
OKLCHoklch(28.77% 0.089 19.3)
XYZxyz(3.5234, 2.1188, 1.0874)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1218 #124E48
analogous
#4E1236 #4E1218 #4E2A12
triadic
#4E1218 #184E12 #12184E
tetradic
#4E1218 #364E12 #124E48 #2A124E
square
#4E1218 #364E12 #124E48 #2A124E
split-complementary
#4E1218 #124E2A #12364E
monochromatic
#190608 #1C0709 #4E1218 #801D27 #B12937

Accessibility & contrast

On white

14.75
#4E1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1218
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1218#FFFFFF#000000##FFFFFF
##4E12181.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222018
Deuteranopia (green-blind)
#312D16
Tritanopia (blue-blind)
#560315
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e1218;
/* rgb */ color: rgb(78, 18, 24);
/* oklch */ color: oklch(28.8% 0.089 19.3);
Tailwind
colors: {
  custom: {
    50: '#855554',
    500: '#4e1218',
    950: '#000000',
  },
}
SCSS
$custom: #4e1218;
$custom-light: #855554;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1218",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 354,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28773,
    "c": 0.08925,
    "h": 19.3
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#4E1218
secondary
#35877F
accent
#E6D542
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1218

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

Preview Lab → · Contrast checker → · Palette generator →

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