#4C171E#4C171E

#4C171E is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.080 H 15.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#4C171E
RGBrgb(76, 23, 30)
HSLhsl(352, 54%, 19%)
HSVhsv(352, 70%, 30%)
CMYKcmyk(0%, 69.7%, 60.5%, 70.2%)
CIE-LABlab(16.72, 25.67, 8.72)
CIE-LCHlch(16.72, 27.11, 18.77°)
OKLaboklab(29.2% 0.0771 0.0218)
OKLCHoklch(29.2% 0.08 15.8)
XYZxyz(3.5215, 2.2435, 1.4756)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C171E #174C45
analogous
#4C1739 #4C171E #4C2B17
triadic
#4C171E #1E4C17 #171E4C
tetradic
#4C171E #394C17 #174C45 #2B174C
square
#4C171E #394C17 #174C45 #2B174C
split-complementary
#4C171E #174C2B #17394C
monochromatic
#170709 #1D090B #4C171E #7B2531 #AA3343

Accessibility & contrast

On white

14.50
#4C171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C171E
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C171E#FFFFFF#000000##FFFFFF
##4C171E1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221E
Deuteranopia (green-blind)
#312D1D
Tritanopia (blue-blind)
#540E1A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c171e;
/* rgb */ color: rgb(76, 23, 30);
/* oklch */ color: oklch(29.2% 0.080 15.8);
Tailwind
colors: {
  custom: {
    50: '#825759',
    500: '#4c171e',
    950: '#000000',
  },
}
SCSS
$custom: #4c171e;
$custom-light: #825759;
$custom-dark: #000000;
JSON
{
  "hex": "#4c171e",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 352.075,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29201,
    "c": 0.08013,
    "h": 15.8
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#4C171E
secondary
#3C837A
accent
#DDCA4B
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C171E

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

Preview Lab → · Contrast checker → · Palette generator →

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