#4F0C16#4F0C16

#4F0C16 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.3% C 0.097 H 18.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#4F0C16
RGBrgb(79, 12, 22)
HSLhsl(351, 74%, 18%)
HSVhsv(351, 85%, 31%)
CMYKcmyk(0%, 84.8%, 72.2%, 69%)
CIE-LABlab(15.40, 31.01, 12.86)
CIE-LCHlch(15.40, 33.57, 22.52°)
OKLaboklab(28.28% 0.0921 0.0306)
OKLCHoklch(28.28% 0.097 18.4)
XYZxyz(3.5011, 1.9837, 0.9574)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C16 #0C4F45
analogous
#4F0C37 #4F0C16 #4F240C
triadic
#4F0C16 #164F0C #0C164F
tetradic
#4F0C16 #374F0C #0C4F45 #240C4F
square
#4F0C16 #374F0C #0C4F45 #240C4F
split-complementary
#4F0C16 #0C4F24 #0C374F
monochromatic
#1B0407 #1B0407 #4F0C16 #841425 #B91C34

Accessibility & contrast

On white

15.04
#4F0C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4F0C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C16
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C16#FFFFFF#000000##FFFFFF
##4F0C161.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E16
Deuteranopia (green-blind)
#302C14
Tritanopia (blue-blind)
#580010
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4f0c16;
/* rgb */ color: rgb(79, 12, 22);
/* oklch */ color: oklch(28.3% 0.097 18.4);
Tailwind
colors: {
  custom: {
    50: '#865252',
    500: '#4f0c16',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c16;
$custom-light: #865252;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c16",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 22
  },
  "hsl": {
    "h": 351.045,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28281,
    "c": 0.09703,
    "h": 18.4
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#4F0C16
secondary
#2C8B7C
accent
#F0D538
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4F0C16

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

Preview Lab → · Contrast checker → · Palette generator →

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