#4D0C0F#4D0C0F

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

Color values

HEX#4D0C0F
RGBrgb(77, 12, 15)
HSLhsl(357, 73%, 17%)
HSVhsv(357, 84%, 30%)
CMYKcmyk(0%, 84.4%, 80.5%, 69.8%)
CIE-LABlab(14.82, 29.91, 16.38)
CIE-LCHlch(14.82, 34.10, 28.71°)
OKLaboklab(27.73% 0.0871 0.0386)
OKLCHoklch(27.73% 0.095 23.9)
XYZxyz(3.2786, 1.8757, 0.6413)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C0F #0C4D4A
analogous
#4D0C2F #4D0C0F #4D2A0C
triadic
#4D0C0F #0F4D0C #0C0F4D
tetradic
#4D0C0F #2F4D0C #0C4D4A #2A0C4D
square
#4D0C0F #2F4D0C #0C4D4A #2A0C4D
split-complementary
#4D0C0F #0C4D2A #0C2F4D
monochromatic
#1A0405 #1A0405 #4D0C0F #821419 #B71D24

Accessibility & contrast

On white

15.27
#4D0C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C0F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C0F#FFFFFF#000000##FFFFFF
##4D0C0F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0E
Deuteranopia (green-blind)
#302A0D
Tritanopia (blue-blind)
#56000E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4d0c0f;
/* rgb */ color: rgb(77, 12, 15);
/* oklch */ color: oklch(27.7% 0.095 23.9);
Tailwind
colors: {
  custom: {
    50: '#85524d',
    500: '#4d0c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c0f;
$custom-light: #85524d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c0f",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 15
  },
  "hsl": {
    "h": 357.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27728,
    "c": 0.09528,
    "h": 23.9
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#4D0C0F
secondary
#2C8984
accent
#F0E738
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0201
muted
#7D7877

Preview Lab

Preview with #4D0C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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