#4D151F#4D151F

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

Color values

HEX#4D151F
RGBrgb(77, 21, 31)
HSLhsl(349, 57%, 19%)
HSVhsv(349, 73%, 30%)
CMYKcmyk(0%, 72.7%, 59.7%, 69.8%)
CIE-LABlab(16.57, 27.16, 7.84)
CIE-LCHlch(16.57, 28.27, 16.10°)
OKLaboklab(29.14% 0.0819 0.0197)
OKLCHoklch(29.14% 0.084 13.5)
XYZxyz(3.5764, 2.2135, 1.5350)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D151F #154D43
analogous
#4D153B #4D151F #4D2715
triadic
#4D151F #1F4D15 #151F4D
tetradic
#4D151F #3B4D15 #154D43 #27154D
square
#4D151F #3B4D15 #154D43 #27154D
split-complementary
#4D151F #154D27 #153B4D
monochromatic
#18070A #1D080C #4D151F #7D2232 #AD2F46

Accessibility & contrast

On white

14.56
#4D151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D151F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D151F#FFFFFF#000000##FFFFFF
##4D151F1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22221F
Deuteranopia (green-blind)
#312D1E
Tritanopia (blue-blind)
#550A19
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d151f;
/* rgb */ color: rgb(77, 21, 31);
/* oklch */ color: oklch(29.1% 0.084 13.5);
Tailwind
colors: {
  custom: {
    50: '#83565a',
    500: '#4d151f',
    950: '#000000',
  },
}
SCSS
$custom: #4d151f;
$custom-light: #83565a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d151f",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 349.286,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29139,
    "c": 0.08424,
    "h": 13.5
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#4D151F
secondary
#398577
accent
#E0C547
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D151F

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

Preview Lab → · Contrast checker → · Palette generator →

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