#4F1312#4F1312

#4F1312 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.0% C 0.090 H 25.6°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#4F1312
RGBrgb(79, 19, 18)
HSLhsl(1, 63%, 19%)
HSVhsv(1, 77%, 31%)
CMYKcmyk(0%, 75.9%, 77.2%, 69%)
CIE-LABlab(16.37, 27.89, 16.72)
CIE-LCHlch(16.37, 32.52, 30.95°)
OKLaboklab(28.98% 0.0812 0.0388)
OKLCHoklch(28.98% 0.09 25.6)
XYZxyz(3.5669, 2.1722, 0.8036)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1312 #124E4F
analogous
#4F1230 #4F1312 #4F3212
triadic
#4F1312 #124F13 #13124F
tetradic
#4F1312 #304F12 #124E4F #32124F
square
#4F1312 #304F12 #124E4F #32124F
split-complementary
#4F1312 #124F32 #12304F
monochromatic
#190606 #1D0707 #4F1312 #811F1D #B32B29

Accessibility & contrast

On white

14.64
#4F1312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4F1312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1312
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1312#FFFFFF#000000##FFFFFF
##4F13121.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242011
Deuteranopia (green-blind)
#332D10
Tritanopia (blue-blind)
#580313
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f1312;
/* rgb */ color: rgb(79, 19, 18);
/* oklch */ color: oklch(29.0% 0.090 25.6);
Tailwind
colors: {
  custom: {
    50: '#865550',
    500: '#4f1312',
    950: '#000000',
  },
}
SCSS
$custom: #4f1312;
$custom-light: #865550;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1312",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.984,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28976,
    "c": 0.08996,
    "h": 25.6
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#4F1312
secondary
#358788
accent
#E3E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1312

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

Preview Lab → · Contrast checker → · Palette generator →

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