#4D1117#4D1117

#4D1117 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.4% C 0.089 H 19.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#4D1117
RGBrgb(77, 17, 23)
HSLhsl(354, 64%, 18%)
HSVhsv(354, 78%, 30%)
CMYKcmyk(0%, 77.9%, 70.1%, 69.8%)
CIE-LABlab(15.70, 28.36, 12.43)
CIE-LCHlch(15.70, 30.97, 23.67°)
OKLaboklab(28.43% 0.0842 0.0298)
OKLCHoklch(28.43% 0.089 19.5)
XYZxyz(3.4160, 2.0410, 1.0245)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1117 #114D47
analogous
#4D1135 #4D1117 #4D2911
triadic
#4D1117 #174D11 #11174D
tetradic
#4D1117 #354D11 #114D47 #29114D
square
#4D1117 #354D11 #114D47 #29114D
split-complementary
#4D1117 #114D29 #11354D
monochromatic
#190607 #1B0608 #4D1117 #7F1C26 #B12735

Accessibility & contrast

On white

14.91
#4D1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4D1117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1117
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1117#FFFFFF#000000##FFFFFF
##4D11171.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#302C15
Tritanopia (blue-blind)
#550214
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d1117;
/* rgb */ color: rgb(77, 17, 23);
/* oklch */ color: oklch(28.4% 0.089 19.5);
Tailwind
colors: {
  custom: {
    50: '#845453',
    500: '#4d1117',
    950: '#000000',
  },
}
SCSS
$custom: #4d1117;
$custom-light: #845453;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1117",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 354,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2843,
    "c": 0.08928,
    "h": 19.5
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#4D1117
secondary
#33867E
accent
#E7D641
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4D1117

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

Preview Lab → · Contrast checker → · Palette generator →

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