#4D0C18#4D0C18

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

Color values

HEX#4D0C18
RGBrgb(77, 12, 24)
HSLhsl(349, 73%, 17%)
HSVhsv(349, 84%, 30%)
CMYKcmyk(0%, 84.4%, 68.8%, 69.8%)
CIE-LABlab(14.99, 30.47, 10.79)
CIE-LCHlch(14.99, 32.32, 19.51°)
OKLaboklab(27.91% 0.0911 0.0262)
OKLCHoklch(27.91% 0.095 16)
XYZxyz(3.3573, 1.9072, 1.0553)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C18 #0C4D41
analogous
#4D0C39 #4D0C18 #4D200C
triadic
#4D0C18 #184D0C #0C184D
tetradic
#4D0C18 #394D0C #0C4D41 #200C4D
square
#4D0C18 #394D0C #0C4D41 #200C4D
split-complementary
#4D0C18 #0C4D20 #0C394D
monochromatic
#1A0408 #1A0408 #4D0C18 #821429 #B71D39

Accessibility & contrast

On white

15.20
#4D0C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C18
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C18#FFFFFF#000000##FFFFFF
##4D0C181.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D18
Deuteranopia (green-blind)
#2F2B16
Tritanopia (blue-blind)
#550011
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4d0c18;
/* rgb */ color: rgb(77, 12, 24);
/* oklch */ color: oklch(27.9% 0.095 16.0);
Tailwind
colors: {
  custom: {
    50: '#845254',
    500: '#4d0c18',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c18;
$custom-light: #845254;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c18",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 24
  },
  "hsl": {
    "h": 348.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27911,
    "c": 0.0948,
    "h": 16
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#4D0C18
secondary
#2C8978
accent
#F0CE38
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4D0C18

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

Preview Lab → · Contrast checker → · Palette generator →

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