#4F151B#4F151B

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

Color values

HEX#4F151B
RGBrgb(79, 21, 27)
HSLhsl(354, 58%, 20%)
HSVhsv(354, 73%, 31%)
CMYKcmyk(0%, 73.4%, 65.8%, 69%)
CIE-LABlab(16.88, 27.57, 11.20)
CIE-LCHlch(16.88, 29.76, 22.10°)
OKLaboklab(29.42% 0.0822 0.0273)
OKLCHoklch(29.42% 0.087 18.4)
XYZxyz(3.6908, 2.2782, 1.2821)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F151B #154F49
analogous
#4F1538 #4F151B #4F2C15
triadic
#4F151B #1B4F15 #151B4F
tetradic
#4F151B #384F15 #154F49 #2C154F
square
#4F151B #384F15 #154F49 #2C154F
split-complementary
#4F151B #154F2C #15384F
monochromatic
#180608 #1F080A #4F151B #7F222C #B02F3C

Accessibility & contrast

On white

14.43
#4F151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F151B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F151B#FFFFFF#000000##FFFFFF
##4F151B1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f151b;
/* rgb */ color: rgb(79, 21, 27);
/* oklch */ color: oklch(29.4% 0.087 18.4);
Tailwind
colors: {
  custom: {
    50: '#855657',
    500: '#4f151b',
    950: '#000000',
  },
}
SCSS
$custom: #4f151b;
$custom-light: #855657;
$custom-dark: #000000;
JSON
{
  "hex": "#4f151b",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 353.793,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29419,
    "c": 0.08663,
    "h": 18.4
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#4F151B
secondary
#39877F
accent
#E1D147
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F151B

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

Preview Lab → · Contrast checker → · Palette generator →

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