#4E1718#4E1718

#4E1718 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.083 H 22.7°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#4E1718
RGBrgb(78, 23, 24)
HSLhsl(359, 54%, 20%)
HSVhsv(359, 71%, 31%)
CMYKcmyk(0%, 70.5%, 69.2%, 69.4%)
CIE-LABlab(16.98, 25.95, 13.41)
CIE-LCHlch(16.98, 29.21, 27.32°)
OKLaboklab(29.43% 0.0766 0.0321)
OKLCHoklch(29.43% 0.083 22.7)
XYZxyz(3.6135, 2.2989, 1.1174)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1718 #174E4D
analogous
#4E1734 #4E1718 #4E3217
triadic
#4E1718 #184E17 #17184E
tetradic
#4E1718 #344E17 #174E4D #32174E
square
#4E1718 #344E17 #174E4D #32174E
split-complementary
#4E1718 #174E32 #17344E
monochromatic
#180707 #1F0909 #4E1718 #7D2527 #AD3335

Accessibility & contrast

On white

14.39
#4E1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1718
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1718#FFFFFF#000000##FFFFFF
##4E17181.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252218
Deuteranopia (green-blind)
#332E17
Tritanopia (blue-blind)
#560B18
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1718;
/* rgb */ color: rgb(78, 23, 24);
/* oklch */ color: oklch(29.4% 0.083 22.7);
Tailwind
colors: {
  custom: {
    50: '#845754',
    500: '#4e1718',
    950: '#000000',
  },
}
SCSS
$custom: #4e1718;
$custom-light: #845754;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1718",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 358.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.08304,
    "h": 22.7
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#4E1718
secondary
#3C8584
accent
#DEDB4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1718

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

Preview Lab → · Contrast checker → · Palette generator →

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