#4D0C17#4D0C17

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

Color values

HEX#4D0C17
RGBrgb(77, 12, 23)
HSLhsl(350, 73%, 17%)
HSVhsv(350, 84%, 30%)
CMYKcmyk(0%, 84.4%, 70.1%, 69.8%)
CIE-LABlab(14.97, 30.40, 11.49)
CIE-LCHlch(14.97, 32.50, 20.71°)
OKLaboklab(27.89% 0.0907 0.0277)
OKLCHoklch(27.89% 0.095 17)
XYZxyz(3.3471, 1.9031, 1.0015)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C17 #0C4D42
analogous
#4D0C38 #4D0C17 #4D210C
triadic
#4D0C17 #174D0C #0C174D
tetradic
#4D0C17 #384D0C #0C4D42 #210C4D
square
#4D0C17 #384D0C #0C4D42 #210C4D
split-complementary
#4D0C17 #0C4D21 #0C384D
monochromatic
#1A0408 #1A0408 #4D0C17 #821427 #B71D37

Accessibility & contrast

On white

15.21
#4D0C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C17
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C17#FFFFFF#000000##FFFFFF
##4D0C171.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0c17;
/* rgb */ color: rgb(77, 12, 23);
/* oklch */ color: oklch(27.9% 0.095 17.0);
Tailwind
colors: {
  custom: {
    50: '#845253',
    500: '#4d0c17',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c17;
$custom-light: #845253;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c17",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 23
  },
  "hsl": {
    "h": 349.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27887,
    "c": 0.09478,
    "h": 17
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#4D0C17
secondary
#2C8979
accent
#F0D138
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4D0C17

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

Preview Lab → · Contrast checker → · Palette generator →

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