#4D181A#4D181A

#4D181A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.080 H 21.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4D181A
RGBrgb(77, 24, 26)
HSLhsl(358, 52%, 20%)
HSVhsv(358, 69%, 30%)
CMYKcmyk(0%, 68.8%, 66.2%, 69.8%)
CIE-LABlab(17.02, 25.19, 12.00)
CIE-LCHlch(17.02, 27.91, 25.48°)
OKLaboklab(29.44% 0.0747 0.0291)
OKLCHoklch(29.44% 0.08 21.3)
XYZxyz(3.5740, 2.3061, 1.2340)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D181A #184D4B
analogous
#4D1835 #4D181A #4D3118
triadic
#4D181A #1A4D18 #181A4D
tetradic
#4D181A #354D18 #184D4B #31184D
square
#4D181A #354D18 #184D4B #31184D
split-complementary
#4D181A #184D31 #18354D
monochromatic
#170708 #1E090A #4D181A #7C272A #AA353A

Accessibility & contrast

On white

14.37
#4D181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D181A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D181A#FFFFFF#000000##FFFFFF
##4D181A1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#332E19
Tritanopia (blue-blind)
#550E19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d181a;
/* rgb */ color: rgb(77, 24, 26);
/* oklch */ color: oklch(29.4% 0.080 21.3);
Tailwind
colors: {
  custom: {
    50: '#835856',
    500: '#4d181a',
    950: '#000000',
  },
}
SCSS
$custom: #4d181a;
$custom-light: #835856;
$custom-dark: #000000;
JSON
{
  "hex": "#4d181a",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 357.736,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29435,
    "c": 0.08022,
    "h": 21.3
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#4D181A
secondary
#3D8481
accent
#DCD64C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D181A

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

Preview Lab → · Contrast checker → · Palette generator →

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