#4D151C#4D151C

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

Color values

HEX#4D151C
RGBrgb(77, 21, 28)
HSLhsl(353, 57%, 19%)
HSVhsv(353, 73%, 30%)
CMYKcmyk(0%, 72.7%, 63.6%, 69.8%)
CIE-LABlab(16.50, 26.89, 9.89)
CIE-LCHlch(16.50, 28.65, 20.20°)
OKLaboklab(29.06% 0.0805 0.0244)
OKLCHoklch(29.06% 0.084 16.9)
XYZxyz(3.5387, 2.1984, 1.3364)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D151C #154D46
analogous
#4D1538 #4D151C #4D2A15
triadic
#4D151C #1C4D15 #151C4D
tetradic
#4D151C #384D15 #154D46 #2A154D
square
#4D151C #384D15 #154D46 #2A154D
split-complementary
#4D151C #154D2A #15384D
monochromatic
#180709 #1D080B #4D151C #7D222D #AD2F3F

Accessibility & contrast

On white

14.59
#4D151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D151C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D151C#FFFFFF#000000##FFFFFF
##4D151C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211C
Deuteranopia (green-blind)
#312D1B
Tritanopia (blue-blind)
#550918
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d151c;
/* rgb */ color: rgb(77, 21, 28);
/* oklch */ color: oklch(29.1% 0.084 16.9);
Tailwind
colors: {
  custom: {
    50: '#835657',
    500: '#4d151c',
    950: '#000000',
  },
}
SCSS
$custom: #4d151c;
$custom-light: #835657;
$custom-dark: #000000;
JSON
{
  "hex": "#4d151c",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 352.5,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29059,
    "c": 0.08412,
    "h": 16.9
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#4D151C
secondary
#39857B
accent
#E0CD47
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D151C

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

Preview Lab → · Contrast checker → · Palette generator →

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