#4C1817#4C1817

#4C1817 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.2% C 0.079 H 24.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4C1817
RGBrgb(76, 24, 23)
HSLhsl(1, 54%, 19%)
HSVhsv(1, 70%, 30%)
CMYKcmyk(0%, 68.4%, 69.7%, 70.2%)
CIE-LABlab(16.76, 24.54, 13.74)
CIE-LCHlch(16.76, 28.13, 29.24°)
OKLaboklab(29.18% 0.0722 0.0328)
OKLCHoklch(29.18% 0.079 24.4)
XYZxyz(3.4621, 2.2521, 1.0628)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1817 #174B4C
analogous
#4C1731 #4C1817 #4C3317
triadic
#4C1817 #174C18 #18174C
tetradic
#4C1817 #314C17 #174B4C #33174C
square
#4C1817 #314C17 #174B4C #33174C
split-complementary
#4C1817 #174C33 #17314C
monochromatic
#170707 #1D0909 #4C1817 #7B2725 #AA3633

Accessibility & contrast

On white

14.48
#4C1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1817
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1817#FFFFFF#000000##FFFFFF
##4C18171.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#322E16
Tritanopia (blue-blind)
#540D18
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1817;
/* rgb */ color: rgb(76, 24, 23);
/* oklch */ color: oklch(29.2% 0.079 24.4);
Tailwind
colors: {
  custom: {
    50: '#825853',
    500: '#4c1817',
    950: '#000000',
  },
}
SCSS
$custom: #4c1817;
$custom-light: #825853;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1817",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 1.132,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29183,
    "c": 0.0793,
    "h": 24.4
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#4C1817
secondary
#3C8283
accent
#DADD4B
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C1817

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

Preview Lab → · Contrast checker → · Palette generator →

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