#4C181E#4C181E

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

Color values

HEX#4C181E
RGBrgb(76, 24, 30)
HSLhsl(353, 52%, 20%)
HSVhsv(353, 68%, 30%)
CMYKcmyk(0%, 68.4%, 60.5%, 70.2%)
CIE-LABlab(16.91, 25.14, 8.99)
CIE-LCHlch(16.91, 26.70, 19.67°)
OKLaboklab(29.35% 0.0755 0.0224)
OKLCHoklch(29.35% 0.079 16.5)
XYZxyz(3.5418, 2.2840, 1.4824)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C181E #184C46
analogous
#4C1838 #4C181E #4C2C18
triadic
#4C181E #1E4C18 #181E4C
tetradic
#4C181E #384C18 #184C46 #2C184C
square
#4C181E #384C18 #184C46 #2C184C
split-complementary
#4C181E #184C2C #18384C
monochromatic
#170709 #1D090C #4C181E #7B2730 #A93543

Accessibility & contrast

On white

14.42
#4C181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C181E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C181E#FFFFFF#000000##FFFFFF
##4C181E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#540F1A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c181e;
/* rgb */ color: rgb(76, 24, 30);
/* oklch */ color: oklch(29.3% 0.079 16.5);
Tailwind
colors: {
  custom: {
    50: '#825859',
    500: '#4c181e',
    950: '#000000',
  },
}
SCSS
$custom: #4c181e;
$custom-light: #825859;
$custom-dark: #000000;
JSON
{
  "hex": "#4c181e",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 353.077,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.07871,
    "h": 16.5
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#4C181E
secondary
#3D837B
accent
#DBCB4C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C181E

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

Preview Lab → · Contrast checker → · Palette generator →

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