#4C1218#4C1218

#4C1218 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.4% C 0.087 H 18.9°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#4C1218
RGBrgb(76, 18, 24)
HSLhsl(354, 62%, 18%)
HSVhsv(354, 76%, 30%)
CMYKcmyk(0%, 76.3%, 68.4%, 70.2%)
CIE-LABlab(15.67, 27.61, 11.64)
CIE-LCHlch(15.67, 29.96, 22.86°)
OKLaboklab(28.38% 0.0821 0.0281)
OKLCHoklch(28.38% 0.087 18.9)
XYZxyz(3.3620, 2.0355, 1.0798)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1218 #124C46
analogous
#4C1235 #4C1218 #4C2912
triadic
#4C1218 #184C12 #12184C
tetradic
#4C1218 #354C12 #124C46 #29124C
square
#4C1218 #354C12 #124C46 #29124C
split-complementary
#4C1218 #124C29 #12354C
monochromatic
#190608 #1B0608 #4C1218 #7D1E28 #AF2937

Accessibility & contrast

On white

14.93
#4C1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4C1218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1218
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1218#FFFFFF#000000##FFFFFF
##4C12181.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1218;
/* rgb */ color: rgb(76, 18, 24);
/* oklch */ color: oklch(28.4% 0.087 18.9);
Tailwind
colors: {
  custom: {
    50: '#835454',
    500: '#4c1218',
    950: '#000000',
  },
}
SCSS
$custom: #4c1218;
$custom-light: #835454;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1218",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 353.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28376,
    "c": 0.08681,
    "h": 18.9
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#4C1218
secondary
#35857D
accent
#E5D443
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C1218

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

Preview Lab → · Contrast checker → · Palette generator →

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