#4F151F#4F151F

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

Color values

HEX#4F151F
RGBrgb(79, 21, 31)
HSLhsl(350, 58%, 20%)
HSVhsv(350, 73%, 31%)
CMYKcmyk(0%, 73.4%, 60.8%, 69%)
CIE-LABlab(16.98, 27.92, 8.47)
CIE-LCHlch(16.98, 29.17, 16.87°)
OKLaboklab(29.52% 0.0841 0.0212)
OKLCHoklch(29.52% 0.087 14.1)
XYZxyz(3.7403, 2.2980, 1.5427)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F151F #154F45
analogous
#4F153C #4F151F #4F2815
triadic
#4F151F #1F4F15 #151F4F
tetradic
#4F151F #3C4F15 #154F45 #28154F
square
#4F151F #3C4F15 #154F45 #28154F
split-complementary
#4F151F #154F28 #153C4F
monochromatic
#180609 #1F080C #4F151F #7F2232 #B02F45

Accessibility & contrast

On white

14.39
#4F151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F151F
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F151F#FFFFFF#000000##FFFFFF
##4F151F1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#570919
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f151f;
/* rgb */ color: rgb(79, 21, 31);
/* oklch */ color: oklch(29.5% 0.087 14.1);
Tailwind
colors: {
  custom: {
    50: '#85575a',
    500: '#4f151f',
    950: '#000000',
  },
}
SCSS
$custom: #4f151f;
$custom-light: #85575a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f151f",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 349.655,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29521,
    "c": 0.08669,
    "h": 14.1
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#4F151F
secondary
#398779
accent
#E1C747
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4F151F

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

Preview Lab → · Contrast checker → · Palette generator →

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