#4C0F1D#4C0F1D

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

Color values

HEX#4C0F1D
RGBrgb(76, 15, 29)
HSLhsl(346, 67%, 18%)
HSVhsv(346, 80%, 30%)
CMYKcmyk(0%, 80.3%, 61.8%, 70.2%)
CIE-LABlab(15.31, 29.34, 7.54)
CIE-LCHlch(15.31, 30.29, 14.41°)
OKLaboklab(28.15% 0.0887 0.0189)
OKLCHoklch(28.15% 0.091 12)
XYZxyz(3.3734, 1.9673, 1.3643)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F1D #0F4C3E
analogous
#4C0F3B #4C0F1D #4C200F
triadic
#4C0F1D #1D4C0F #0F1D4C
tetradic
#4C0F1D #3B4C0F #0F4C3E #200F4C
square
#4C0F1D #3B4C0F #0F4C3E #200F4C
split-complementary
#4C0F1D #0F4C20 #0F3B4C
monochromatic
#1A050A #1A050A #4C0F1D #7F1931 #B22344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0F1D#FFFFFF#000000##FFFFFF
##4C0F1D1.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)
#1F1E1D
Deuteranopia (green-blind)
#2E2B1B
Tritanopia (blue-blind)
#540215
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0f1d;
/* rgb */ color: rgb(76, 15, 29);
/* oklch */ color: oklch(28.1% 0.091 12.0);
Tailwind
colors: {
  custom: {
    50: '#835358',
    500: '#4c0f1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f1d;
$custom-light: #835358;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f1d",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 346.23,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.09066,
    "h": 12
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#4C0F1D
secondary
#318673
accent
#EAC23E
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C0F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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