#4C131F#4C131F

#4C131F is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.7% C 0.086 H 12.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#4C131F
RGBrgb(76, 19, 31)
HSLhsl(347, 60%, 19%)
HSVhsv(347, 75%, 30%)
CMYKcmyk(0%, 75%, 59.2%, 70.2%)
CIE-LABlab(16.01, 27.74, 7.04)
CIE-LCHlch(16.01, 28.62, 14.24°)
OKLaboklab(28.68% 0.0839 0.0178)
OKLCHoklch(28.68% 0.086 12)
XYZxyz(3.4610, 2.1016, 1.5195)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C131F #134C40
analogous
#4C133B #4C131F #4C2313
triadic
#4C131F #1F4C13 #131F4C
tetradic
#4C131F #3B4C13 #134C40 #23134C
square
#4C131F #3B4C13 #134C40 #23134C
split-complementary
#4C131F #134C23 #133B4C
monochromatic
#18060A #1B070B #4C131F #7D1F33 #AE2B47

Accessibility & contrast

On white

14.79
#4C131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C131F
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C131F#FFFFFF#000000##FFFFFF
##4C131F1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201F
Deuteranopia (green-blind)
#302C1E
Tritanopia (blue-blind)
#540818
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c131f;
/* rgb */ color: rgb(76, 19, 31);
/* oklch */ color: oklch(28.7% 0.086 12.0);
Tailwind
colors: {
  custom: {
    50: '#82555a',
    500: '#4c131f',
    950: '#000000',
  },
}
SCSS
$custom: #4c131f;
$custom-light: #82555a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c131f",
  "rgb": {
    "r": 76,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 347.368,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28684,
    "c": 0.08576,
    "h": 12
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#4C131F
secondary
#368574
accent
#E3C245
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C131F

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

Preview Lab → · Contrast checker → · Palette generator →

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