#4C151B#4C151B

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

Color values

HEX#4C151B
RGBrgb(76, 21, 27)
HSLhsl(353, 57%, 19%)
HSVhsv(353, 72%, 30%)
CMYKcmyk(0%, 72.4%, 64.5%, 70.2%)
CIE-LABlab(16.27, 26.41, 10.27)
CIE-LCHlch(16.27, 28.34, 21.24°)
OKLaboklab(28.84% 0.079 0.0252)
OKLCHoklch(28.84% 0.083 17.7)
XYZxyz(3.4468, 2.1524, 1.2707)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C151B #154C46
analogous
#4C1537 #4C151B #4C2B15
triadic
#4C151B #1B4C15 #151B4C
tetradic
#4C151B #374C15 #154C46 #2B154C
square
#4C151B #374C15 #154C46 #2B154C
split-complementary
#4C151B #154C2B #15374C
monochromatic
#180709 #1C080A #4C151B #7C222C #AC2F3D

Accessibility & contrast

On white

14.68
#4C151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C151B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C151B#FFFFFF#000000##FFFFFF
##4C151B1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#312D1A
Tritanopia (blue-blind)
#540A18
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c151b;
/* rgb */ color: rgb(76, 21, 27);
/* oklch */ color: oklch(28.8% 0.083 17.7);
Tailwind
colors: {
  custom: {
    50: '#825657',
    500: '#4c151b',
    950: '#000000',
  },
}
SCSS
$custom: #4c151b;
$custom-light: #825657;
$custom-dark: #000000;
JSON
{
  "hex": "#4c151b",
  "rgb": {
    "r": 76,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 353.455,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28842,
    "c": 0.08288,
    "h": 17.7
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#4C151B
secondary
#39847C
accent
#E0CF48
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C151B

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

Preview Lab → · Contrast checker → · Palette generator →

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