#4D1A0C#4D1A0C

#4D1A0C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.081 H 36.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#4D1A0C
RGBrgb(77, 26, 12)
HSLhsl(13, 73%, 17%)
HSVhsv(13, 84%, 30%)
CMYKcmyk(0%, 66.2%, 84.4%, 69.8%)
CIE-LABlab(17.20, 23.21, 20.84)
CIE-LCHlch(17.20, 31.19, 41.92°)
OKLaboklab(29.5% 0.0654 0.0477)
OKLCHoklch(29.5% 0.081 36.1)
XYZxyz(3.4967, 2.3436, 0.6160)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1A0C #0C3F4D
analogous
#4D0C1F #4D1A0C #4D3B0C
triadic
#4D1A0C #0C4D1A #1A0C4D
tetradic
#4D1A0C #1F4D0C #0C3F4D #3B0C4D
square
#4D1A0C #1F4D0C #0C3F4D #3B0C4D
split-complementary
#4D1A0C #0C4D3B #0C1F4D
monochromatic
#1A0904 #1A0904 #4D1A0C #822C14 #B73E1D

Accessibility & contrast

On white

14.30
#4D1A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D1A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1A0C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1A0C#FFFFFF#000000##FFFFFF
##4D1A0C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230A
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#550E17
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1a0c;
/* rgb */ color: rgb(77, 26, 12);
/* oklch */ color: oklch(29.5% 0.081 36.1);
Tailwind
colors: {
  custom: {
    50: '#84594c',
    500: '#4d1a0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d1a0c;
$custom-light: #84594c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1a0c",
  "rgb": {
    "r": 77,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 12.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29496,
    "c": 0.08094,
    "h": 36.1
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#4D1A0C
secondary
#2C7589
accent
#C8F038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4D1A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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