#4C1017#4C1017

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

Color values

HEX#4C1017
RGBrgb(76, 16, 23)
HSLhsl(353, 65%, 18%)
HSVhsv(353, 79%, 30%)
CMYKcmyk(0%, 78.9%, 69.7%, 70.2%)
CIE-LABlab(15.33, 28.43, 11.91)
CIE-LCHlch(15.33, 30.83, 22.73°)
OKLaboklab(28.11% 0.0845 0.0286)
OKLCHoklch(28.11% 0.089 18.7)
XYZxyz(3.3208, 1.9694, 1.0157)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1017 #104C45
analogous
#4C1035 #4C1017 #4C2710
triadic
#4C1017 #174C10 #10174C
tetradic
#4C1017 #354C10 #104C45 #27104C
square
#4C1017 #354C10 #104C45 #27104C
split-complementary
#4C1017 #104C27 #10354C
monochromatic
#190508 #190508 #4C1017 #7F1B26 #B12536

Accessibility & contrast

On white

15.07
#4C1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1017
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1017#FFFFFF#000000##FFFFFF
##4C10171.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#302B15
Tritanopia (blue-blind)
#540113
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c1017;
/* rgb */ color: rgb(76, 16, 23);
/* oklch */ color: oklch(28.1% 0.089 18.7);
Tailwind
colors: {
  custom: {
    50: '#835353',
    500: '#4c1017',
    950: '#000000',
  },
}
SCSS
$custom: #4c1017;
$custom-light: #835353;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1017",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 353,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28111,
    "c": 0.08925,
    "h": 18.7
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#4C1017
secondary
#32867C
accent
#E8D540
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C1017

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

Preview Lab → · Contrast checker → · Palette generator →

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