#4D170E#4D170E

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

Color values

HEX#4D170E
RGBrgb(77, 23, 14)
HSLhsl(9, 69%, 18%)
HSVhsv(9, 82%, 30%)
CMYKcmyk(0%, 70.1%, 81.8%, 69.8%)
CIE-LABlab(16.62, 24.91, 19.17)
CIE-LCHlch(16.62, 31.43, 37.57°)
OKLaboklab(29.07% 0.0711 0.0442)
OKLCHoklch(29.07% 0.084 31.8)
XYZxyz(3.4466, 2.2228, 0.6629)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D170E #0E444D
analogous
#4D0E25 #4D170E #4D360E
triadic
#4D170E #0E4D17 #170E4D
tetradic
#4D170E #254D0E #0E444D #360E4D
square
#4D170E #254D0E #0E444D #360E4D
split-complementary
#4D170E #0E4D36 #0E254D
monochromatic
#1A0805 #1A0805 #4D170E #812617 #B53621

Accessibility & contrast

On white

14.54
#4D170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D170E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D170E#FFFFFF#000000##FFFFFF
##4D170E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#550915
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d170e;
/* rgb */ color: rgb(77, 23, 14);
/* oklch */ color: oklch(29.1% 0.084 31.8);
Tailwind
colors: {
  custom: {
    50: '#84574d',
    500: '#4d170e',
    950: '#000000',
  },
}
SCSS
$custom: #4d170e;
$custom-light: #84574d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d170e",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 8.571,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.08374,
    "h": 31.8
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#4D170E
secondary
#2F7B88
accent
#D3EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4D170E

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

Preview Lab → · Contrast checker → · Palette generator →

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