#4C181F#4C181F

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

Color values

HEX#4C181F
RGBrgb(76, 24, 31)
HSLhsl(352, 52%, 20%)
HSVhsv(352, 68%, 30%)
CMYKcmyk(0%, 68.4%, 59.2%, 70.2%)
CIE-LABlab(16.94, 25.24, 8.31)
CIE-LCHlch(16.94, 26.57, 18.22°)
OKLaboklab(29.38% 0.0759 0.0208)
OKLCHoklch(29.38% 0.079 15.3)
XYZxyz(3.5547, 2.2891, 1.5507)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C181F #184C45
analogous
#4C1839 #4C181F #4C2B18
triadic
#4C181F #1F4C18 #181F4C
tetradic
#4C181F #394C18 #184C45 #2B184C
square
#4C181F #394C18 #184C45 #2B184C
split-complementary
#4C181F #184C2B #18394C
monochromatic
#170709 #1D090C #4C181F #7B2732 #A93545

Accessibility & contrast

On white

14.41
#4C181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C181F
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C181F#FFFFFF#000000##FFFFFF
##4C181F1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#312E1E
Tritanopia (blue-blind)
#540F1B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c181f;
/* rgb */ color: rgb(76, 24, 31);
/* oklch */ color: oklch(29.4% 0.079 15.3);
Tailwind
colors: {
  custom: {
    50: '#82585a',
    500: '#4c181f',
    950: '#000000',
  },
}
SCSS
$custom: #4c181f;
$custom-light: #82585a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c181f",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 351.923,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.07874,
    "h": 15.3
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#4C181F
secondary
#3D8379
accent
#DBC84C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C181F

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

Preview Lab → · Contrast checker → · Palette generator →

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