#4D171E#4D171E

#4D171E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.081 H 16.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4D171E
RGBrgb(77, 23, 30)
HSLhsl(352, 54%, 20%)
HSVhsv(352, 70%, 30%)
CMYKcmyk(0%, 70.1%, 61%, 69.8%)
CIE-LABlab(16.92, 26.06, 9.03)
CIE-LCHlch(16.92, 27.58, 19.11°)
OKLaboklab(29.39% 0.0783 0.0225)
OKLCHoklch(29.39% 0.081 16)
XYZxyz(3.6016, 2.2848, 1.4794)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D171E #174D46
analogous
#4D1739 #4D171E #4D2B17
triadic
#4D171E #1E4D17 #171E4D
tetradic
#4D171E #394D17 #174D46 #2B174D
square
#4D171E #394D17 #174D46 #2B174D
split-complementary
#4D171E #174D2B #17394D
monochromatic
#180709 #1E090C #4D171E #7C2530 #AB3343

Accessibility & contrast

On white

14.42
#4D171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D171E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D171E#FFFFFF#000000##FFFFFF
##4D171E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#550D1A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d171e;
/* rgb */ color: rgb(77, 23, 30);
/* oklch */ color: oklch(29.4% 0.081 16.0);
Tailwind
colors: {
  custom: {
    50: '#835759',
    500: '#4d171e',
    950: '#000000',
  },
}
SCSS
$custom: #4d171e;
$custom-light: #835759;
$custom-dark: #000000;
JSON
{
  "hex": "#4d171e",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 352.222,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29389,
    "c": 0.08141,
    "h": 16
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#4D171E
secondary
#3C847B
accent
#DDCA4A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D171E

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

Preview Lab → · Contrast checker → · Palette generator →

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