#4F0D12#4F0D12

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

Color values

HEX#4F0D12
RGBrgb(79, 13, 18)
HSLhsl(355, 72%, 18%)
HSVhsv(355, 84%, 31%)
CMYKcmyk(0%, 83.5%, 77.2%, 69%)
CIE-LABlab(15.46, 30.40, 15.58)
CIE-LCHlch(15.46, 34.16, 27.13°)
OKLaboklab(28.3% 0.0891 0.0364)
OKLCHoklch(28.3% 0.096 22.2)
XYZxyz(3.4779, 1.9943, 0.7740)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D12 #0D4F4A
analogous
#4F0D33 #4F0D12 #4F290D
triadic
#4F0D12 #124F0D #0D124F
tetradic
#4F0D12 #334F0D #0D4F4A #290D4F
square
#4F0D12 #334F0D #0D4F4A #290D4F
split-complementary
#4F0D12 #0D4F29 #0D334F
monochromatic
#1A0406 #1A0406 #4F0D12 #84161E #B81E2A

Accessibility & contrast

On white

15.01
#4F0D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D12
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D12#FFFFFF#000000##FFFFFF
##4F0D121.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E12
Deuteranopia (green-blind)
#312C10
Tritanopia (blue-blind)
#580010
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0d12;
/* rgb */ color: rgb(79, 13, 18);
/* oklch */ color: oklch(28.3% 0.096 22.2);
Tailwind
colors: {
  custom: {
    50: '#86524f',
    500: '#4f0d12',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d12;
$custom-light: #86524f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d12",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 18
  },
  "hsl": {
    "h": 355.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28298,
    "c": 0.09629,
    "h": 22.2
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#4F0D12
secondary
#2E8A83
accent
#EEE139
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4F0D12

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

Preview Lab → · Contrast checker → · Palette generator →

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