#4F121B#4F121B

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

Color values

HEX#4F121B
RGBrgb(79, 18, 27)
HSLhsl(351, 63%, 19%)
HSVhsv(351, 77%, 31%)
CMYKcmyk(0%, 77.2%, 65.8%, 69%)
CIE-LABlab(16.38, 28.96, 10.53)
CIE-LCHlch(16.38, 30.81, 19.98°)
OKLaboklab(29.04% 0.0867 0.0258)
OKLCHoklch(29.04% 0.09 16.6)
XYZxyz(3.6389, 2.1745, 1.2648)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F121B #124F46
analogous
#4F123A #4F121B #4F2812
triadic
#4F121B #1B4F12 #121B4F
tetradic
#4F121B #3A4F12 #124F46 #28124F
square
#4F121B #3A4F12 #124F46 #28124F
split-complementary
#4F121B #124F28 #123A4F
monochromatic
#190609 #1D070A #4F121B #811D2C #B3293D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F121B#FFFFFF#000000##FFFFFF
##4F121B1.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)
#22201B
Deuteranopia (green-blind)
#322D19
Tritanopia (blue-blind)
#570416
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f121b;
/* rgb */ color: rgb(79, 18, 27);
/* oklch */ color: oklch(29.0% 0.090 16.6);
Tailwind
colors: {
  custom: {
    50: '#855557',
    500: '#4f121b',
    950: '#000000',
  },
}
SCSS
$custom: #4f121b;
$custom-light: #855557;
$custom-dark: #000000;
JSON
{
  "hex": "#4f121b",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 351.148,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.0904,
    "h": 16.6
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#4F121B
secondary
#35887C
accent
#E6CE42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F121B

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

Preview Lab → · Contrast checker → · Palette generator →

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