#4F151C#4F151C

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

Color values

HEX#4F151C
RGBrgb(79, 21, 28)
HSLhsl(353, 58%, 20%)
HSVhsv(353, 73%, 31%)
CMYKcmyk(0%, 73.4%, 64.6%, 69%)
CIE-LABlab(16.91, 27.66, 10.51)
CIE-LCHlch(16.91, 29.59, 20.81°)
OKLaboklab(29.44% 0.0827 0.0258)
OKLCHoklch(29.44% 0.087 17.3)
XYZxyz(3.7026, 2.2829, 1.3441)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F151C #154F48
analogous
#4F1539 #4F151C #4F2B15
triadic
#4F151C #1C4F15 #151C4F
tetradic
#4F151C #394F15 #154F48 #2B154F
square
#4F151C #394F15 #154F48 #2B154F
split-complementary
#4F151C #154F2B #15394F
monochromatic
#180609 #1F080B #4F151C #7F222D #B02F3E

Accessibility & contrast

On white

14.42
#4F151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F151C
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F151C#FFFFFF#000000##FFFFFF
##4F151C1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221C
Deuteranopia (green-blind)
#332E1B
Tritanopia (blue-blind)
#570818
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f151c;
/* rgb */ color: rgb(79, 21, 28);
/* oklch */ color: oklch(29.4% 0.087 17.3);
Tailwind
colors: {
  custom: {
    50: '#855657',
    500: '#4f151c',
    950: '#000000',
  },
}
SCSS
$custom: #4f151c;
$custom-light: #855657;
$custom-dark: #000000;
JSON
{
  "hex": "#4f151c",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 352.759,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29443,
    "c": 0.08662,
    "h": 17.3
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#4F151C
secondary
#39877D
accent
#E1CF47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F151C

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

Preview Lab → · Contrast checker → · Palette generator →

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