#4C1018#4C1018

#4C1018 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.089 H 17.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#4C1018
RGBrgb(76, 16, 24)
HSLhsl(352, 65%, 18%)
HSVhsv(352, 79%, 30%)
CMYKcmyk(0%, 78.9%, 68.4%, 70.2%)
CIE-LABlab(15.35, 28.51, 11.22)
CIE-LCHlch(15.35, 30.63, 21.48°)
OKLaboklab(28.13% 0.085 0.0272)
OKLCHoklch(28.13% 0.089 17.7)
XYZxyz(3.3310, 1.9735, 1.0695)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1018 #104C44
analogous
#4C1036 #4C1018 #4C2610
triadic
#4C1018 #184C10 #10184C
tetradic
#4C1018 #364C10 #104C44 #26104C
square
#4C1018 #364C10 #104C44 #26104C
split-complementary
#4C1018 #104C26 #10364C
monochromatic
#190508 #190508 #4C1018 #7F1B28 #B12538

Accessibility & contrast

On white

15.06
#4C1018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4C1018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1018
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1018#FFFFFF#000000##FFFFFF
##4C10181.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E18
Deuteranopia (green-blind)
#2F2B16
Tritanopia (blue-blind)
#540213
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c1018;
/* rgb */ color: rgb(76, 16, 24);
/* oklch */ color: oklch(28.1% 0.089 17.7);
Tailwind
colors: {
  custom: {
    50: '#835354',
    500: '#4c1018',
    950: '#000000',
  },
}
SCSS
$custom: #4c1018;
$custom-light: #835354;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1018",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 352,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28134,
    "c": 0.08922,
    "h": 17.7
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#4C1018
secondary
#32867B
accent
#E8D240
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C1018

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

Preview Lab → · Contrast checker → · Palette generator →

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