#4C1917#4C1917

#4C1917 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.3% C 0.078 H 25.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#4C1917
RGBrgb(76, 25, 23)
HSLhsl(2, 54%, 19%)
HSVhsv(2, 70%, 30%)
CMYKcmyk(0%, 67.1%, 69.7%, 70.2%)
CIE-LABlab(16.96, 24.01, 13.99)
CIE-LCHlch(16.96, 27.79, 30.24°)
OKLaboklab(29.34% 0.0705 0.0334)
OKLCHoklch(29.34% 0.078 25.3)
XYZxyz(3.4831, 2.2941, 1.0698)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1917 #174A4C
analogous
#4C1730 #4C1917 #4C3417
triadic
#4C1917 #174C19 #19174C
tetradic
#4C1917 #304C17 #174A4C #34174C
square
#4C1917 #304C17 #174A4C #34174C
split-complementary
#4C1917 #174C34 #17304C
monochromatic
#170807 #1D0A09 #4C1917 #7B2825 #AA3833

Accessibility & contrast

On white

14.40
#4C1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1917
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1917#FFFFFF#000000##FFFFFF
##4C19171.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262316
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#540F19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1917;
/* rgb */ color: rgb(76, 25, 23);
/* oklch */ color: oklch(29.3% 0.078 25.3);
Tailwind
colors: {
  custom: {
    50: '#825853',
    500: '#4c1917',
    950: '#000000',
  },
}
SCSS
$custom: #4c1917;
$custom-light: #825853;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1917",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 2.264,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.07799,
    "h": 25.3
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#4C1917
secondary
#3C8083
accent
#D7DD4B
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C1917

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

Preview Lab → · Contrast checker → · Palette generator →

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