#4C0F1A#4C0F1A

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

Color values

HEX#4C0F1A
RGBrgb(76, 15, 26)
HSLhsl(349, 67%, 18%)
HSVhsv(349, 80%, 30%)
CMYKcmyk(0%, 80.3%, 65.8%, 70.2%)
CIE-LABlab(15.24, 29.09, 9.62)
CIE-LCHlch(15.24, 30.64, 18.31°)
OKLaboklab(28.07% 0.0873 0.0236)
OKLCHoklch(28.07% 0.09 15.1)
XYZxyz(3.3381, 1.9532, 1.1783)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F1A #0F4C41
analogous
#4C0F38 #4C0F1A #4C220F
triadic
#4C0F1A #1A4C0F #0F1A4C
tetradic
#4C0F1A #384C0F #0F4C41 #220F4C
square
#4C0F1A #384C0F #0F4C41 #220F4C
split-complementary
#4C0F1A #0F4C22 #0F384C
monochromatic
#1A0509 #1A0509 #4C0F1A #7F192B #B2233D

Accessibility & contrast

On white

15.10
#4C0F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F1A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F1A#FFFFFF#000000##FFFFFF
##4C0F1A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1A
Deuteranopia (green-blind)
#2F2B18
Tritanopia (blue-blind)
#540114
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0f1a;
/* rgb */ color: rgb(76, 15, 26);
/* oklch */ color: oklch(28.1% 0.090 15.1);
Tailwind
colors: {
  custom: {
    50: '#835356',
    500: '#4c0f1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f1a;
$custom-light: #835356;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f1a",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 26
  },
  "hsl": {
    "h": 349.18,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28069,
    "c": 0.09042,
    "h": 15.1
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#4C0F1A
secondary
#318677
accent
#EACB3E
background
#F8F4F5
surface
#F0E7E8
border
#CBC3C4
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C0F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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