#4F151D#4F151D

#4F151D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.087 H 16.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4F151D
RGBrgb(79, 21, 29)
HSLhsl(352, 58%, 20%)
HSVhsv(352, 73%, 31%)
CMYKcmyk(0%, 73.4%, 63.3%, 69%)
CIE-LABlab(16.93, 27.74, 9.83)
CIE-LCHlch(16.93, 29.43, 19.52°)
OKLaboklab(29.47% 0.0832 0.0243)
OKLCHoklch(29.47% 0.087 16.3)
XYZxyz(3.7147, 2.2878, 1.4081)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F151D #154F47
analogous
#4F153A #4F151D #4F2A15
triadic
#4F151D #1D4F15 #151D4F
tetradic
#4F151D #3A4F15 #154F47 #2A154F
square
#4F151D #3A4F15 #154F47 #2A154F
split-complementary
#4F151D #154F2A #153A4F
monochromatic
#180609 #1F080B #4F151D #7F222F #B02F40

Accessibility & contrast

On white

14.41
#4F151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F151D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F151D#FFFFFF#000000##FFFFFF
##4F151D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221D
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#570918
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f151d;
/* rgb */ color: rgb(79, 21, 29);
/* oklch */ color: oklch(29.5% 0.087 16.3);
Tailwind
colors: {
  custom: {
    50: '#855658',
    500: '#4f151d',
    950: '#000000',
  },
}
SCSS
$custom: #4f151d;
$custom-light: #855658;
$custom-dark: #000000;
JSON
{
  "hex": "#4f151d",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 351.724,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29468,
    "c": 0.08662,
    "h": 16.3
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#4F151D
secondary
#39877C
accent
#E1CC47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F151D

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

Preview Lab → · Contrast checker → · Palette generator →

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