#4C0D18#4C0D18

#4C0D18 is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.8% C 0.093 H 16.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#4C0D18
RGBrgb(76, 13, 24)
HSLhsl(350, 71%, 17%)
HSVhsv(350, 83%, 30%)
CMYKcmyk(0%, 82.9%, 68.4%, 70.2%)
CIE-LABlab(14.90, 29.74, 10.63)
CIE-LCHlch(14.90, 31.58, 19.68°)
OKLaboklab(27.8% 0.089 0.0258)
OKLCHoklch(27.8% 0.093 16.2)
XYZxyz(3.2896, 1.8908, 1.0557)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D18 #0D4C41
analogous
#4C0D37 #4C0D18 #4C220D
triadic
#4C0D18 #184C0D #0D184C
tetradic
#4C0D18 #374C0D #0D4C41 #220D4C
square
#4C0D18 #374C0D #0D4C41 #220D4C
split-complementary
#4C0D18 #0D4C22 #0D374C
monochromatic
#1A0408 #1A0408 #4C0D18 #801629 #B51F39

Accessibility & contrast

On white

15.24
#4C0D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D18
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D18#FFFFFF#000000##FFFFFF
##4C0D181.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D18
Deuteranopia (green-blind)
#2F2A16
Tritanopia (blue-blind)
#540012
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4c0d18;
/* rgb */ color: rgb(76, 13, 24);
/* oklch */ color: oklch(27.8% 0.093 16.2);
Tailwind
colors: {
  custom: {
    50: '#835254',
    500: '#4c0d18',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d18;
$custom-light: #835254;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d18",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 349.524,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27804,
    "c": 0.09262,
    "h": 16.2
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#4C0D18
secondary
#2E8778
accent
#EECE3A
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #4C0D18

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

Preview Lab → · Contrast checker → · Palette generator →

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