#4C151F#4C151F

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

Color values

HEX#4C151F
RGBrgb(76, 21, 31)
HSLhsl(349, 57%, 19%)
HSVhsv(349, 72%, 30%)
CMYKcmyk(0%, 72.4%, 59.2%, 70.2%)
CIE-LABlab(16.37, 26.78, 7.53)
CIE-LCHlch(16.37, 27.82, 15.70°)
OKLaboklab(28.95% 0.0808 0.019)
OKLCHoklch(28.95% 0.083 13.2)
XYZxyz(3.4963, 2.1722, 1.5312)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C151F #154C42
analogous
#4C153B #4C151F #4C2715
triadic
#4C151F #1F4C15 #151F4C
tetradic
#4C151F #3B4C15 #154C42 #27154C
square
#4C151F #3B4C15 #154C42 #27154C
split-complementary
#4C151F #154C27 #153B4C
monochromatic
#18070A #1C080B #4C151F #7C2233 #AC2F46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C151F#FFFFFF#000000##FFFFFF
##4C151F1.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)
#22211F
Deuteranopia (green-blind)
#302D1E
Tritanopia (blue-blind)
#540B19
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c151f;
/* rgb */ color: rgb(76, 21, 31);
/* oklch */ color: oklch(28.9% 0.083 13.2);
Tailwind
colors: {
  custom: {
    50: '#82565a',
    500: '#4c151f',
    950: '#000000',
  },
}
SCSS
$custom: #4c151f;
$custom-light: #82565a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c151f",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 349.091,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28948,
    "c": 0.083,
    "h": 13.2
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#4C151F
secondary
#398476
accent
#E0C448
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C151F

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

Preview Lab → · Contrast checker → · Palette generator →

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