#4F1217#4F1217

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

Color values

HEX#4F1217
RGBrgb(79, 18, 23)
HSLhsl(355, 63%, 19%)
HSVhsv(355, 77%, 31%)
CMYKcmyk(0%, 77.2%, 70.9%, 69%)
CIE-LABlab(16.29, 28.66, 13.28)
CIE-LCHlch(16.29, 31.59, 24.85°)
OKLaboklab(28.95% 0.0848 0.0316)
OKLCHoklch(28.95% 0.091 20.5)
XYZxyz(3.5958, 2.1573, 1.0375)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1217 #124F4A
analogous
#4F1236 #4F1217 #4F2C12
triadic
#4F1217 #174F12 #12174F
tetradic
#4F1217 #364F12 #124F4A #2C124F
square
#4F1217 #364F12 #124F4A #2C124F
split-complementary
#4F1217 #124F2C #12364F
monochromatic
#190607 #1D0708 #4F1217 #811D26 #B32934

Accessibility & contrast

On white

14.67
#4F1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1217
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1217#FFFFFF#000000##FFFFFF
##4F12171.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#322D15
Tritanopia (blue-blind)
#570314
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f1217;
/* rgb */ color: rgb(79, 18, 23);
/* oklch */ color: oklch(28.9% 0.091 20.5);
Tailwind
colors: {
  custom: {
    50: '#855553',
    500: '#4f1217',
    950: '#000000',
  },
}
SCSS
$custom: #4f1217;
$custom-light: #855553;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1217",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 355.082,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28949,
    "c": 0.09052,
    "h": 20.5
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#4F1217
secondary
#358881
accent
#E6D842
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1217

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

Preview Lab → · Contrast checker → · Palette generator →

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