#4C0F17#4C0F17

#4C0F17 is a dark, moderate red. Relative luminance 0.019; OKLCH L 28.0% C 0.090 H 18.2°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#4C0F17
RGBrgb(76, 15, 23)
HSLhsl(352, 67%, 18%)
HSVhsv(352, 80%, 30%)
CMYKcmyk(0%, 80.3%, 69.7%, 70.2%)
CIE-LABlab(15.17, 28.86, 11.71)
CIE-LCHlch(15.17, 31.14, 22.09°)
OKLaboklab(28% 0.0859 0.0282)
OKLCHoklch(28% 0.09 18.2)
XYZxyz(3.3063, 1.9405, 1.0109)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F17 #0F4C44
analogous
#4C0F35 #4C0F17 #4C250F
triadic
#4C0F17 #174C0F #0F174C
tetradic
#4C0F17 #354C0F #0F4C44 #250F4C
square
#4C0F17 #354C0F #0F4C44 #250F4C
split-complementary
#4C0F17 #0F4C25 #0F354C
monochromatic
#1A0508 #1A0508 #4C0F17 #7F1926 #B22336

Accessibility & contrast

On white

15.13
#4C0F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F17
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F17#FFFFFF#000000##FFFFFF
##4C0F171.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#2F2B15
Tritanopia (blue-blind)
#540012
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0f17;
/* rgb */ color: rgb(76, 15, 23);
/* oklch */ color: oklch(28.0% 0.090 18.2);
Tailwind
colors: {
  custom: {
    50: '#835353',
    500: '#4c0f17',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f17;
$custom-light: #835353;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f17",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 23
  },
  "hsl": {
    "h": 352.131,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27996,
    "c": 0.09039,
    "h": 18.2
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#4C0F17
secondary
#31867B
accent
#EAD33E
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C0F17

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

Preview Lab → · Contrast checker → · Palette generator →

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