#4D180C#4D180C

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

Color values

HEX#4D180C
RGBrgb(77, 24, 12)
HSLhsl(11, 73%, 17%)
HSVhsv(11, 84%, 30%)
CMYKcmyk(0%, 68.8%, 84.4%, 69.8%)
CIE-LABlab(16.79, 24.29, 20.34)
CIE-LCHlch(16.79, 31.68, 39.94°)
OKLaboklab(29.19% 0.0688 0.0468)
OKLCHoklch(29.19% 0.083 34.2)
XYZxyz(3.4539, 2.2581, 0.6017)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D180C #0C414D
analogous
#4D0C20 #4D180C #4D390C
triadic
#4D180C #0C4D18 #180C4D
tetradic
#4D180C #204D0C #0C414D #390C4D
square
#4D180C #204D0C #0C414D #390C4D
split-complementary
#4D180C #0C4D39 #0C204D
monochromatic
#1A0804 #1A0804 #4D180C #822914 #B7391D

Accessibility & contrast

On white

14.47
#4D180C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D180C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D180C#FFFFFF#000000##FFFFFF
##4D180C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d180c;
/* rgb */ color: rgb(77, 24, 12);
/* oklch */ color: oklch(29.2% 0.083 34.2);
Tailwind
colors: {
  custom: {
    50: '#84574c',
    500: '#4d180c',
    950: '#000000',
  },
}
SCSS
$custom: #4d180c;
$custom-light: #84574c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d180c",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 12
  },
  "hsl": {
    "h": 11.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29188,
    "c": 0.08314,
    "h": 34.2
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#4D180C
secondary
#2C7889
accent
#CEF038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4D180C

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

Preview Lab → · Contrast checker → · Palette generator →

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