#4D151D#4D151D

#4D151D is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.084 H 15.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#4D151D
RGBrgb(77, 21, 29)
HSLhsl(351, 57%, 19%)
HSVhsv(351, 73%, 30%)
CMYKcmyk(0%, 72.7%, 62.3%, 69.8%)
CIE-LABlab(16.52, 26.98, 9.21)
CIE-LCHlch(16.52, 28.50, 18.85°)
OKLaboklab(29.09% 0.081 0.0228)
OKLCHoklch(29.09% 0.084 15.8)
XYZxyz(3.5508, 2.2033, 1.4005)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D151D #154D45
analogous
#4D1539 #4D151D #4D2915
triadic
#4D151D #1D4D15 #151D4D
tetradic
#4D151D #394D15 #154D45 #29154D
square
#4D151D #394D15 #154D45 #29154D
split-complementary
#4D151D #154D29 #15394D
monochromatic
#180709 #1D080B #4D151D #7D222F #AD2F41

Accessibility & contrast

On white

14.58
#4D151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4D151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D151D
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D151D#FFFFFF#000000##FFFFFF
##4D151D1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221D
Deuteranopia (green-blind)
#312D1C
Tritanopia (blue-blind)
#550A18
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d151d;
/* rgb */ color: rgb(77, 21, 29);
/* oklch */ color: oklch(29.1% 0.084 15.8);
Tailwind
colors: {
  custom: {
    50: '#835658',
    500: '#4d151d',
    950: '#000000',
  },
}
SCSS
$custom: #4d151d;
$custom-light: #835658;
$custom-dark: #000000;
JSON
{
  "hex": "#4d151d",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 351.429,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.08414,
    "h": 15.8
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#4D151D
secondary
#39857A
accent
#E0CB47
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D151D

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

Preview Lab → · Contrast checker → · Palette generator →

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