#4C0F15#4C0F15

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

Color values

HEX#4C0F15
RGBrgb(76, 15, 21)
HSLhsl(354, 67%, 18%)
HSVhsv(354, 80%, 30%)
CMYKcmyk(0%, 80.3%, 72.4%, 70.2%)
CIE-LABlab(15.13, 28.72, 13.08)
CIE-LCHlch(15.13, 31.56, 24.49°)
OKLaboklab(27.95% 0.085 0.0311)
OKLCHoklch(27.95% 0.09 20.1)
XYZxyz(3.2870, 1.9328, 0.9093)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F15 #0F4C46
analogous
#4C0F33 #4C0F15 #4C270F
triadic
#4C0F15 #154C0F #0F154C
tetradic
#4C0F15 #334C0F #0F4C46 #270F4C
square
#4C0F15 #334C0F #0F4C46 #270F4C
split-complementary
#4C0F15 #0F4C27 #0F334C
monochromatic
#1A0507 #1A0507 #4C0F15 #7F1923 #B22331

Accessibility & contrast

On white

15.15
#4C0F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F15
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F15#FFFFFF#000000##FFFFFF
##4C0F151.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0f15;
/* rgb */ color: rgb(76, 15, 21);
/* oklch */ color: oklch(28.0% 0.090 20.1);
Tailwind
colors: {
  custom: {
    50: '#835352',
    500: '#4c0f15',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f15;
$custom-light: #835352;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f15",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 21
  },
  "hsl": {
    "h": 354.098,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27952,
    "c": 0.09048,
    "h": 20.1
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#4C0F15
secondary
#31867E
accent
#EAD93E
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4C0F15

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

Preview Lab → · Contrast checker → · Palette generator →

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