#4C161F#4C161F

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

Color values

HEX#4C161F
RGBrgb(76, 22, 31)
HSLhsl(350, 55%, 19%)
HSVhsv(350, 71%, 30%)
CMYKcmyk(0%, 71.1%, 59.2%, 70.2%)
CIE-LABlab(16.55, 26.28, 7.78)
CIE-LCHlch(16.55, 27.40, 16.50°)
OKLaboklab(29.09% 0.0792 0.0196)
OKLCHoklch(29.09% 0.082 13.9)
XYZxyz(3.5150, 2.2097, 1.5375)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C161F #164C43
analogous
#4C163A #4C161F #4C2816
triadic
#4C161F #1F4C16 #161F4C
tetradic
#4C161F #3A4C16 #164C43 #28164C
square
#4C161F #3A4C16 #164C43 #28164C
split-complementary
#4C161F #164C28 #163A4C
monochromatic
#18070A #1D080C #4C161F #7B2432 #AB3146

Accessibility & contrast

On white

14.57
#4C161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C161F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C161F#FFFFFF#000000##FFFFFF
##4C161F1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#312D1E
Tritanopia (blue-blind)
#540C1A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c161f;
/* rgb */ color: rgb(76, 22, 31);
/* oklch */ color: oklch(29.1% 0.082 13.9);
Tailwind
colors: {
  custom: {
    50: '#82575a',
    500: '#4c161f',
    950: '#000000',
  },
}
SCSS
$custom: #4c161f;
$custom-light: #82575a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c161f",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 350,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29086,
    "c": 0.0816,
    "h": 13.9
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#4C161F
secondary
#3A8477
accent
#DEC649
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C161F

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

Preview Lab → · Contrast checker → · Palette generator →

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