#4C170C#4C170C

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

Color values

HEX#4C170C
RGBrgb(76, 23, 12)
HSLhsl(10, 73%, 17%)
HSVhsv(10, 84%, 30%)
CMYKcmyk(0%, 69.7%, 84.2%, 70.2%)
CIE-LABlab(16.39, 24.40, 19.80)
CIE-LCHlch(16.39, 31.42, 39.06°)
OKLaboklab(28.85% 0.0692 0.0458)
OKLCHoklch(28.85% 0.083 33.5)
XYZxyz(3.3536, 2.1763, 0.5912)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C170C #0C414C
analogous
#4C0C21 #4C170C #4C370C
triadic
#4C170C #0C4C17 #170C4C
tetradic
#4C170C #214C0C #0C414C #370C4C
square
#4C170C #214C0C #0C414C #370C4C
split-complementary
#4C170C #0C4C37 #0C214C
monochromatic
#1A0804 #1A0804 #4C170C #812714 #B6371D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C170C#FFFFFF#000000##FFFFFF
##4C170C1.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)
#26210A
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#540915
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c170c;
/* rgb */ color: rgb(76, 23, 12);
/* oklch */ color: oklch(28.8% 0.083 33.5);
Tailwind
colors: {
  custom: {
    50: '#83574c',
    500: '#4c170c',
    950: '#000000',
  },
}
SCSS
$custom: #4c170c;
$custom-light: #83574c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c170c",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 10.313,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28847,
    "c": 0.08298,
    "h": 33.5
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#4C170C
secondary
#2C7888
accent
#D0EF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4C170C

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

Preview Lab → · Contrast checker → · Palette generator →

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