#4F1212#4F1212

#4F1212 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.9% C 0.091 H 24.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4F1212
RGBrgb(79, 18, 18)
HSLhsl(0, 63%, 19%)
HSVhsv(0, 77%, 31%)
CMYKcmyk(0%, 77.2%, 77.2%, 69%)
CIE-LABlab(16.20, 28.34, 16.52)
CIE-LCHlch(16.20, 32.80, 30.23°)
OKLaboklab(28.85% 0.0826 0.0384)
OKLCHoklch(28.85% 0.091 24.9)
XYZxyz(3.5503, 2.1391, 0.7981)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1212 #124F4F
analogous
#4F1231 #4F1212 #4F3112
triadic
#4F1212 #124F12 #12124F
tetradic
#4F1212 #314F12 #124F4F #31124F
square
#4F1212 #314F12 #124F4F #31124F
split-complementary
#4F1212 #124F31 #12314F
monochromatic
#190606 #1D0707 #4F1212 #811D1D #B32929

Accessibility & contrast

On white

14.71
#4F1212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1212
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1212#FFFFFF#000000##FFFFFF
##4F12121.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232011
Deuteranopia (green-blind)
#332D10
Tritanopia (blue-blind)
#580113
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f1212;
/* rgb */ color: rgb(79, 18, 18);
/* oklch */ color: oklch(28.9% 0.091 24.9);
Tailwind
colors: {
  custom: {
    50: '#86554f',
    500: '#4f1212',
    950: '#000000',
  },
}
SCSS
$custom: #4f1212;
$custom-light: #86554f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1212",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28852,
    "c": 0.09107,
    "h": 24.9
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#4F1212
secondary
#358888
accent
#E6E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1212

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

Preview Lab → · Contrast checker → · Palette generator →

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