#4D180A#4D180A

#4D180A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.2% C 0.084 H 35.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4D180A
RGBrgb(77, 24, 10)
HSLhsl(13, 77%, 17%)
HSVhsv(13, 87%, 30%)
CMYKcmyk(0%, 68.8%, 87%, 69.8%)
CIE-LABlab(16.77, 24.20, 21.17)
CIE-LCHlch(16.77, 32.15, 41.18°)
OKLaboklab(29.16% 0.068 0.0487)
OKLCHoklch(29.16% 0.084 35.6)
XYZxyz(3.4424, 2.2535, 0.5408)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D180A #0A3F4D
analogous
#4D0A1E #4D180A #4D3A0A
triadic
#4D180A #0A4D18 #180A4D
tetradic
#4D180A #1E4D0A #0A3F4D #3A0A4D
square
#4D180A #1E4D0A #0A3F4D #3A0A4D
split-complementary
#4D180A #0A4D3A #0A1E4D
monochromatic
#1B0804 #1B0804 #4D180A #832911 #B93A18

Accessibility & contrast

On white

14.48
#4D180A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4D180A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D180A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D180A#FFFFFF#000000##FFFFFF
##4D180A1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272208
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#550A15
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d180a;
/* rgb */ color: rgb(77, 24, 10);
/* oklch */ color: oklch(29.2% 0.084 35.6);
Tailwind
colors: {
  custom: {
    50: '#84574b',
    500: '#4d180a',
    950: '#000000',
  },
}
SCSS
$custom: #4d180a;
$custom-light: #84574b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d180a",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 10
  },
  "hsl": {
    "h": 12.537,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29164,
    "c": 0.08367,
    "h": 35.6
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#4D180A
secondary
#29758A
accent
#CCF434
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4D180A

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

Preview Lab → · Contrast checker → · Palette generator →

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