#4F1117#4F1117

#4F1117 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.8% C 0.092 H 19.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#4F1117
RGBrgb(79, 17, 23)
HSLhsl(354, 65%, 19%)
HSVhsv(354, 78%, 31%)
CMYKcmyk(0%, 78.5%, 70.9%, 69%)
CIE-LABlab(16.13, 29.10, 13.07)
CIE-LCHlch(16.13, 31.90, 24.19°)
OKLaboklab(28.83% 0.0862 0.0312)
OKLCHoklch(28.83% 0.092 19.9)
XYZxyz(3.5799, 2.1255, 1.0322)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1117 #114F49
analogous
#4F1136 #4F1117 #4F2A11
triadic
#4F1117 #174F11 #11174F
tetradic
#4F1117 #364F11 #114F49 #2A114F
square
#4F1117 #364F11 #114F49 #2A114F
split-complementary
#4F1117 #114F2A #11364F
monochromatic
#190507 #1D0608 #4F1117 #811C26 #B42734

Accessibility & contrast

On white

14.74
#4F1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1117
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1117#FFFFFF#000000##FFFFFF
##4F11171.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1117;
/* rgb */ color: rgb(79, 17, 23);
/* oklch */ color: oklch(28.8% 0.092 19.9);
Tailwind
colors: {
  custom: {
    50: '#865453',
    500: '#4f1117',
    950: '#000000',
  },
}
SCSS
$custom: #4f1117;
$custom-light: #865453;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1117",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 354.194,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.09168,
    "h": 19.9
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#4F1117
secondary
#338880
accent
#E8D740
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1117

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

Preview Lab → · Contrast checker → · Palette generator →

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