#4F1218#4F1218

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

Color values

HEX#4F1218
RGBrgb(79, 18, 24)
HSLhsl(354, 63%, 19%)
HSVhsv(354, 77%, 31%)
CMYKcmyk(0%, 77.2%, 69.6%, 69%)
CIE-LABlab(16.31, 28.73, 12.59)
CIE-LCHlch(16.31, 31.37, 23.66°)
OKLaboklab(28.97% 0.0853 0.0302)
OKLCHoklch(28.97% 0.09 19.5)
XYZxyz(3.6060, 2.1613, 1.0913)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1218 #124F49
analogous
#4F1237 #4F1218 #4F2B12
triadic
#4F1218 #184F12 #12184F
tetradic
#4F1218 #374F12 #124F49 #2B124F
square
#4F1218 #374F12 #124F49 #2B124F
split-complementary
#4F1218 #124F2B #12374F
monochromatic
#190608 #1D0709 #4F1218 #811D27 #B32936

Accessibility & contrast

On white

14.66
#4F1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1218
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1218#FFFFFF#000000##FFFFFF
##4F12181.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232018
Deuteranopia (green-blind)
#322D16
Tritanopia (blue-blind)
#570315
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f1218;
/* rgb */ color: rgb(79, 18, 24);
/* oklch */ color: oklch(29.0% 0.090 19.5);
Tailwind
colors: {
  custom: {
    50: '#855554',
    500: '#4f1218',
    950: '#000000',
  },
}
SCSS
$custom: #4f1218;
$custom-light: #855554;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1218",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 354.098,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28971,
    "c": 0.09046,
    "h": 19.5
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#4F1218
secondary
#358880
accent
#E6D642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1218

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

Preview Lab → · Contrast checker → · Palette generator →

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