#4C1118#4C1118

#4C1118 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.3% C 0.088 H 18.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#4C1118
RGBrgb(76, 17, 24)
HSLhsl(353, 63%, 18%)
HSVhsv(353, 78%, 30%)
CMYKcmyk(0%, 77.6%, 68.4%, 70.2%)
CIE-LABlab(15.51, 28.06, 11.42)
CIE-LCHlch(15.51, 30.30, 22.15°)
OKLaboklab(28.25% 0.0836 0.0276)
OKLCHoklch(28.25% 0.088 18.3)
XYZxyz(3.3461, 2.0038, 1.0746)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1118 #114C45
analogous
#4C1135 #4C1118 #4C2711
triadic
#4C1118 #184C11 #11184C
tetradic
#4C1118 #354C11 #114C45 #27114C
square
#4C1118 #354C11 #114C45 #27114C
split-complementary
#4C1118 #114C27 #11354C
monochromatic
#190608 #1A0608 #4C1118 #7E1C28 #B02738

Accessibility & contrast

On white

14.99
#4C1118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C1118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1118
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1118#FFFFFF#000000##FFFFFF
##4C11181.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F18
Deuteranopia (green-blind)
#302B16
Tritanopia (blue-blind)
#540314
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c1118;
/* rgb */ color: rgb(76, 17, 24);
/* oklch */ color: oklch(28.3% 0.088 18.3);
Tailwind
colors: {
  custom: {
    50: '#835454',
    500: '#4c1118',
    950: '#000000',
  },
}
SCSS
$custom: #4c1118;
$custom-light: #835454;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1118",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 24
  },
  "hsl": {
    "h": 352.881,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.08803,
    "h": 18.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#4C1118
secondary
#33857C
accent
#E6D341
background
#F8F5F4
surface
#F0E8E7
border
#CBC4C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C1118

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

Preview Lab → · Contrast checker → · Palette generator →

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