#4C120C#4C120C

#4C120C is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.2% C 0.088 H 29.6°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#4C120C
RGBrgb(76, 18, 12)
HSLhsl(6, 73%, 17%)
HSVhsv(6, 84%, 30%)
CMYKcmyk(0%, 76.3%, 84.2%, 70.2%)
CIE-LABlab(15.47, 26.88, 18.64)
CIE-LCHlch(15.47, 32.71, 34.74°)
OKLaboklab(28.16% 0.0769 0.0437)
OKLCHoklch(28.16% 0.088 29.6)
XYZxyz(3.2635, 1.9961, 0.5612)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C120C #0C464C
analogous
#4C0C26 #4C120C #4C320C
triadic
#4C120C #0C4C12 #120C4C
tetradic
#4C120C #264C0C #0C464C #320C4C
square
#4C120C #264C0C #0C464C #320C4C
split-complementary
#4C120C #0C4C32 #0C264C
monochromatic
#1A0604 #1A0604 #4C120C #811F14 #B62B1D

Accessibility & contrast

On white

15.01
#4C120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C120C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C120C#FFFFFF#000000##FFFFFF
##4C120C1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0B
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#540211
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c120c;
/* rgb */ color: rgb(76, 18, 12);
/* oklch */ color: oklch(28.2% 0.088 29.6);
Tailwind
colors: {
  custom: {
    50: '#84544c',
    500: '#4c120c',
    950: '#000000',
  },
}
SCSS
$custom: #4c120c;
$custom-light: #84544c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c120c",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 5.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28157,
    "c": 0.08846,
    "h": 29.6
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#4C120C
secondary
#2C7F88
accent
#DEEF38
background
#F8F5F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4C120C

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

Preview Lab → · Contrast checker → · Palette generator →

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