#4C170B#4C170B

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

Color values

HEX#4C170B
RGBrgb(76, 23, 11)
HSLhsl(11, 75%, 17%)
HSVhsv(11, 86%, 30%)
CMYKcmyk(0%, 69.7%, 85.5%, 70.2%)
CIE-LABlab(16.37, 24.35, 20.22)
CIE-LCHlch(16.37, 31.65, 39.71°)
OKLaboklab(28.84% 0.0688 0.0468)
OKLCHoklch(28.84% 0.083 34.2)
XYZxyz(3.3477, 2.1739, 0.5599)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C170B #0B404C
analogous
#4C0B20 #4C170B #4C380B
triadic
#4C170B #0B4C17 #170B4C
tetradic
#4C170B #204C0B #0B404C #380B4C
square
#4C170B #204C0B #0B404C #380B4C
split-complementary
#4C170B #0B4C38 #0B204C
monochromatic
#1B0804 #1B0804 #4C170B #812713 #B7371A

Accessibility & contrast

On white

14.64
#4C170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C170B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C170B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C170B#FFFFFF#000000##FFFFFF
##4C170B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262109
Deuteranopia (green-blind)
#332D09
Tritanopia (blue-blind)
#540915
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c170b;
/* rgb */ color: rgb(76, 23, 11);
/* oklch */ color: oklch(28.8% 0.083 34.2);
Tailwind
colors: {
  custom: {
    50: '#83574b',
    500: '#4c170b',
    950: '#000000',
  },
}
SCSS
$custom: #4c170b;
$custom-light: #83574b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c170b",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 11.077,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28835,
    "c": 0.08324,
    "h": 34.2
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#4C170B
secondary
#2B7788
accent
#CFF136
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4C170B

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

Preview Lab → · Contrast checker → · Palette generator →

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