#4D161F#4D161F

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

Color values

HEX#4D161F
RGBrgb(77, 22, 31)
HSLhsl(350, 56%, 19%)
HSVhsv(350, 71%, 30%)
CMYKcmyk(0%, 71.4%, 59.7%, 69.8%)
CIE-LABlab(16.75, 26.66, 8.09)
CIE-LCHlch(16.75, 27.86, 16.88°)
OKLaboklab(29.28% 0.0803 0.0203)
OKLCHoklch(29.28% 0.083 14.2)
XYZxyz(3.5951, 2.2510, 1.5412)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D161F #164D44
analogous
#4D163B #4D161F #4D2916
triadic
#4D161F #1F4D16 #161F4D
tetradic
#4D161F #3B4D16 #164D44 #29164D
square
#4D161F #3B4D16 #164D44 #29164D
split-complementary
#4D161F #164D29 #163B4D
monochromatic
#18070A #1D080C #4D161F #7D2432 #AC3145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D161F#FFFFFF#000000##FFFFFF
##4D161F1.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)
#23221F
Deuteranopia (green-blind)
#312E1E
Tritanopia (blue-blind)
#550C1A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d161f;
/* rgb */ color: rgb(77, 22, 31);
/* oklch */ color: oklch(29.3% 0.083 14.2);
Tailwind
colors: {
  custom: {
    50: '#83575a',
    500: '#4d161f',
    950: '#000000',
  },
}
SCSS
$custom: #4d161f;
$custom-light: #83575a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d161f",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 350.182,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29275,
    "c": 0.08285,
    "h": 14.2
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#4D161F
secondary
#3A8578
accent
#DFC649
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D161F

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

Preview Lab → · Contrast checker → · Palette generator →

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