#4C181B#4C181B

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

Color values

HEX#4C181B
RGBrgb(76, 24, 27)
HSLhsl(357, 52%, 20%)
HSVhsv(357, 68%, 30%)
CMYKcmyk(0%, 68.4%, 64.5%, 70.2%)
CIE-LABlab(16.84, 24.87, 11.03)
CIE-LCHlch(16.84, 27.21, 23.92°)
OKLaboklab(29.27% 0.0741 0.027)
OKLCHoklch(29.27% 0.079 20)
XYZxyz(3.5053, 2.2694, 1.2901)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C181B #184C49
analogous
#4C1835 #4C181B #4C2F18
triadic
#4C181B #1B4C18 #181B4C
tetradic
#4C181B #354C18 #184C49 #2F184C
square
#4C181B #354C18 #184C49 #2F184C
split-complementary
#4C181B #184C2F #18354C
monochromatic
#170708 #1D090A #4C181B #7B272C #A9353C

Accessibility & contrast

On white

14.44
#4C181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C181B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C181B#FFFFFF#000000##FFFFFF
##4C181B1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#322E1A
Tritanopia (blue-blind)
#540E19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c181b;
/* rgb */ color: rgb(76, 24, 27);
/* oklch */ color: oklch(29.3% 0.079 20.0);
Tailwind
colors: {
  custom: {
    50: '#825857',
    500: '#4c181b',
    950: '#000000',
  },
}
SCSS
$custom: #4c181b;
$custom-light: #825857;
$custom-dark: #000000;
JSON
{
  "hex": "#4c181b",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 356.538,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.07882,
    "h": 20
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#4C181B
secondary
#3D837F
accent
#DBD34C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C181B

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

Preview Lab → · Contrast checker → · Palette generator →

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