#4F1812#4F1812

#4F1812 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.084 H 29.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4F1812
RGBrgb(79, 24, 18)
HSLhsl(6, 63%, 19%)
HSVhsv(6, 77%, 31%)
CMYKcmyk(0%, 69.6%, 77.2%, 69%)
CIE-LABlab(17.27, 25.44, 17.84)
CIE-LCHlch(17.27, 31.07, 35.04°)
OKLaboklab(29.65% 0.0735 0.0411)
OKLCHoklch(29.65% 0.084 29.2)
XYZxyz(3.6606, 2.3597, 0.8349)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1812 #12494F
analogous
#4F122B #4F1812 #4F3712
triadic
#4F1812 #124F18 #18124F
tetradic
#4F1812 #2B4F12 #12494F #37124F
square
#4F1812 #2B4F12 #12494F #37124F
split-complementary
#4F1812 #124F37 #122B4F
monochromatic
#190806 #1D0907 #4F1812 #81271D #B33629

Accessibility & contrast

On white

14.27
#4F1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1812
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1812#FFFFFF#000000##FFFFFF
##4F18121.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272311
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#570B17
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1812;
/* rgb */ color: rgb(79, 24, 18);
/* oklch */ color: oklch(29.7% 0.084 29.2);
Tailwind
colors: {
  custom: {
    50: '#865850',
    500: '#4f1812',
    950: '#000000',
  },
}
SCSS
$custom: #4f1812;
$custom-light: #865850;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1812",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 5.902,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.08419,
    "h": 29.2
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#4F1812
secondary
#358088
accent
#D6E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1812

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

Preview Lab → · Contrast checker → · Palette generator →

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