#4D180F#4D180F

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

Color values

HEX#4D180F
RGBrgb(77, 24, 15)
HSLhsl(9, 67%, 18%)
HSVhsv(9, 81%, 30%)
CMYKcmyk(0%, 68.8%, 80.5%, 69.8%)
CIE-LABlab(16.83, 24.44, 18.91)
CIE-LCHlch(16.83, 30.90, 37.72°)
OKLaboklab(29.23% 0.0699 0.0435)
OKLCHoklch(29.23% 0.082 31.9)
XYZxyz(3.4738, 2.2660, 0.7063)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D180F #0F444D
analogous
#4D0F25 #4D180F #4D370F
triadic
#4D180F #0F4D18 #180F4D
tetradic
#4D180F #254D0F #0F444D #370F4D
square
#4D180F #254D0F #0F444D #370F4D
split-complementary
#4D180F #0F4D37 #0F254D
monochromatic
#1A0805 #1A0805 #4D180F #802819 #B33823

Accessibility & contrast

On white

14.45
#4D180F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D180F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D180F#FFFFFF#000000##FFFFFF
##4D180F1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#550B16
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d180f;
/* rgb */ color: rgb(77, 24, 15);
/* oklch */ color: oklch(29.2% 0.082 31.9);
Tailwind
colors: {
  custom: {
    50: '#84584e',
    500: '#4d180f',
    950: '#000000',
  },
}
SCSS
$custom: #4d180f;
$custom-light: #84584e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d180f",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 8.71,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29229,
    "c": 0.08235,
    "h": 31.9
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#4D180F
secondary
#317B87
accent
#D1EA3E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4D180F

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

Preview Lab → · Contrast checker → · Palette generator →

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