#4D181B#4D181B

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

Color values

HEX#4D181B
RGBrgb(77, 24, 27)
HSLhsl(357, 52%, 20%)
HSVhsv(357, 69%, 30%)
CMYKcmyk(0%, 68.8%, 64.9%, 69.8%)
CIE-LABlab(17.04, 25.27, 11.33)
CIE-LCHlch(17.04, 27.70, 24.14°)
OKLaboklab(29.46% 0.0752 0.0277)
OKLCHoklch(29.46% 0.08 20.2)
XYZxyz(3.5854, 2.3107, 1.2939)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D181B #184D4A
analogous
#4D1835 #4D181B #4D3018
triadic
#4D181B #1B4D18 #181B4D
tetradic
#4D181B #354D18 #184D4A #30184D
square
#4D181B #354D18 #184D4A #30184D
split-complementary
#4D181B #184D30 #18354D
monochromatic
#170708 #1E090B #4D181B #7C272B #AA353C

Accessibility & contrast

On white

14.36
#4D181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D181B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D181B#FFFFFF#000000##FFFFFF
##4D181B1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d181b;
/* rgb */ color: rgb(77, 24, 27);
/* oklch */ color: oklch(29.5% 0.080 20.2);
Tailwind
colors: {
  custom: {
    50: '#835857',
    500: '#4d181b',
    950: '#000000',
  },
}
SCSS
$custom: #4d181b;
$custom-light: #835857;
$custom-dark: #000000;
JSON
{
  "hex": "#4d181b",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 356.604,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.08012,
    "h": 20.2
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#4D181B
secondary
#3D8480
accent
#DCD44C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D181B

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

Preview Lab → · Contrast checker → · Palette generator →

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