#4C170D#4C170D

#4C170D is a dark, moderate red. Relative luminance 0.022; OKLCH L 28.9% C 0.083 H 32.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#4C170D
RGBrgb(76, 23, 13)
HSLhsl(10, 71%, 17%)
HSVhsv(10, 83%, 30%)
CMYKcmyk(0%, 69.7%, 82.9%, 70.2%)
CIE-LABlab(16.40, 24.45, 19.34)
CIE-LCHlch(16.40, 31.17, 38.35°)
OKLaboklab(28.86% 0.0696 0.0447)
OKLCHoklch(28.86% 0.083 32.7)
XYZxyz(3.3599, 2.1788, 0.6243)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C170D #0D424C
analogous
#4C0D22 #4C170D #4C370D
triadic
#4C170D #0D4C17 #170D4C
tetradic
#4C170D #224C0D #0D424C #370D4C
square
#4C170D #224C0D #0D424C #370D4C
split-complementary
#4C170D #0D4C37 #0D224C
monochromatic
#1A0804 #1A0804 #4C170D #802716 #B5371F

Accessibility & contrast

On white

14.63
#4C170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C170D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C170D#FFFFFF#000000##FFFFFF
##4C170D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210C
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#540A15
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c170d;
/* rgb */ color: rgb(76, 23, 13);
/* oklch */ color: oklch(28.9% 0.083 32.7);
Tailwind
colors: {
  custom: {
    50: '#83574c',
    500: '#4c170d',
    950: '#000000',
  },
}
SCSS
$custom: #4c170d;
$custom-light: #83574c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c170d",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 9.524,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28861,
    "c": 0.08272,
    "h": 32.7
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#4C170D
secondary
#2E7987
accent
#D1EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4C170D

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

Preview Lab → · Contrast checker → · Palette generator →

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