#4E1818#4E1818

#4E1818 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.082 H 23.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1818
RGBrgb(78, 24, 24)
HSLhsl(0, 53%, 20%)
HSVhsv(0, 69%, 31%)
CMYKcmyk(0%, 69.2%, 69.2%, 69.4%)
CIE-LABlab(17.18, 25.44, 13.65)
CIE-LCHlch(17.18, 28.87, 28.22°)
OKLaboklab(29.58% 0.075 0.0326)
OKLCHoklch(29.58% 0.082 23.5)
XYZxyz(3.6337, 2.3394, 1.1242)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1818 #184E4E
analogous
#4E1833 #4E1818 #4E3318
triadic
#4E1818 #184E18 #18184E
tetradic
#4E1818 #334E18 #184E4E #33184E
square
#4E1818 #334E18 #184E4E #33184E
split-complementary
#4E1818 #184E33 #18334E
monochromatic
#170707 #1F0A0A #4E1818 #7D2626 #AC3535

Accessibility & contrast

On white

14.31
#4E1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1818
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1818#FFFFFF#000000##FFFFFF
##4E18181.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#342F17
Tritanopia (blue-blind)
#560D19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1818;
/* rgb */ color: rgb(78, 24, 24);
/* oklch */ color: oklch(29.6% 0.082 23.5);
Tailwind
colors: {
  custom: {
    50: '#845854',
    500: '#4e1818',
    950: '#000000',
  },
}
SCSS
$custom: #4e1818;
$custom-light: #845854;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1818",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29579,
    "c": 0.08176,
    "h": 23.5
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#4E1818
secondary
#3D8585
accent
#DCDC4B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1818

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

Preview Lab → · Contrast checker → · Palette generator →

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