#4F121C#4F121C

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

Color values

HEX#4F121C
RGBrgb(79, 18, 28)
HSLhsl(350, 63%, 19%)
HSVhsv(350, 77%, 31%)
CMYKcmyk(0%, 77.2%, 64.6%, 69%)
CIE-LABlab(16.40, 29.04, 9.84)
CIE-LCHlch(16.40, 30.66, 18.72°)
OKLaboklab(29.07% 0.0871 0.0242)
OKLCHoklch(29.07% 0.09 15.5)
XYZxyz(3.6507, 2.1792, 1.3268)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F121C #124F45
analogous
#4F123B #4F121C #4F2712
triadic
#4F121C #1C4F12 #121C4F
tetradic
#4F121C #3B4F12 #124F45 #27124F
square
#4F121C #3B4F12 #124F45 #27124F
split-complementary
#4F121C #124F27 #123B4F
monochromatic
#190609 #1D070A #4F121C #811D2E #B3293F

Accessibility & contrast

On white

14.63
#4F121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4F121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F121C
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F121C#FFFFFF#000000##FFFFFF
##4F121C1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#312D1A
Tritanopia (blue-blind)
#570416
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f121c;
/* rgb */ color: rgb(79, 18, 28);
/* oklch */ color: oklch(29.1% 0.090 15.5);
Tailwind
colors: {
  custom: {
    50: '#855557',
    500: '#4f121c',
    950: '#000000',
  },
}
SCSS
$custom: #4f121c;
$custom-light: #855557;
$custom-dark: #000000;
JSON
{
  "hex": "#4f121c",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 350.164,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.09041,
    "h": 15.5
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#4F121C
secondary
#35887A
accent
#E6CB42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F121C

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

Preview Lab → · Contrast checker → · Palette generator →

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