#4C0D12#4C0D12

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

Color values

HEX#4C0D12
RGBrgb(76, 13, 18)
HSLhsl(355, 71%, 17%)
HSVhsv(355, 83%, 30%)
CMYKcmyk(0%, 82.9%, 76.3%, 70.2%)
CIE-LABlab(14.78, 29.34, 14.58)
CIE-LCHlch(14.78, 32.76, 26.42°)
OKLaboklab(27.68% 0.0862 0.0344)
OKLCHoklch(27.68% 0.093 21.8)
XYZxyz(3.2340, 1.8685, 0.7625)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D12 #0D4C47
analogous
#4C0D32 #4C0D12 #4C270D
triadic
#4C0D12 #124C0D #0D124C
tetradic
#4C0D12 #324C0D #0D4C47 #270D4C
square
#4C0D12 #324C0D #0D4C47 #270D4C
split-complementary
#4C0D12 #0D4C27 #0D324C
monochromatic
#1A0406 #1A0406 #4C0D12 #80161E #B51F2B

Accessibility & contrast

On white

15.29
#4C0D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4C0D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D12
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D12#FFFFFF#000000##FFFFFF
##4C0D121.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D12
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#54000F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4c0d12;
/* rgb */ color: rgb(76, 13, 18);
/* oklch */ color: oklch(27.7% 0.093 21.8);
Tailwind
colors: {
  custom: {
    50: '#84524f',
    500: '#4c0d12',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d12;
$custom-light: #84524f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d12",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 18
  },
  "hsl": {
    "h": 355.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.09283,
    "h": 21.8
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#4C0D12
secondary
#2E8780
accent
#EEDF3A
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4C0D12

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

Preview Lab → · Contrast checker → · Palette generator →

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