#4D0C12#4D0C12

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

Color values

HEX#4D0C12
RGBrgb(77, 12, 18)
HSLhsl(354, 73%, 17%)
HSVhsv(354, 84%, 30%)
CMYKcmyk(0%, 84.4%, 76.6%, 69.8%)
CIE-LABlab(14.87, 30.08, 14.74)
CIE-LCHlch(14.87, 33.49, 26.11°)
OKLaboklab(27.78% 0.0884 0.0347)
OKLCHoklch(27.78% 0.095 21.4)
XYZxyz(3.3016, 1.8849, 0.7621)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C12 #0C4D47
analogous
#4D0C32 #4D0C12 #4D270C
triadic
#4D0C12 #124D0C #0C124D
tetradic
#4D0C12 #324D0C #0C4D47 #270C4D
square
#4D0C12 #324D0C #0C4D47 #270C4D
split-complementary
#4D0C12 #0C4D27 #0C324D
monochromatic
#1A0406 #1A0406 #4D0C12 #82141E #B71D2B

Accessibility & contrast

On white

15.25
#4D0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C12
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C12#FFFFFF#000000##FFFFFF
##4D0C121.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D12
Deuteranopia (green-blind)
#302A10
Tritanopia (blue-blind)
#55000F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4d0c12;
/* rgb */ color: rgb(77, 12, 18);
/* oklch */ color: oklch(27.8% 0.095 21.4);
Tailwind
colors: {
  custom: {
    50: '#85524f',
    500: '#4d0c12',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c12;
$custom-light: #85524f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c12",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 354.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27782,
    "c": 0.09498,
    "h": 21.4
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#4D0C12
secondary
#2C8980
accent
#F0DF38
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4D0C12

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

Preview Lab → · Contrast checker → · Palette generator →

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