#4F151E#4F151E

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

Color values

HEX#4F151E
RGBrgb(79, 21, 30)
HSLhsl(351, 58%, 20%)
HSVhsv(351, 73%, 31%)
CMYKcmyk(0%, 73.4%, 62%, 69%)
CIE-LABlab(16.95, 27.83, 9.15)
CIE-LCHlch(16.95, 29.29, 18.20°)
OKLaboklab(29.49% 0.0836 0.0227)
OKLCHoklch(29.49% 0.087 15.2)
XYZxyz(3.7273, 2.2928, 1.4743)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F151E #154F46
analogous
#4F153B #4F151E #4F2915
triadic
#4F151E #1E4F15 #151E4F
tetradic
#4F151E #3B4F15 #154F46 #29154F
square
#4F151E #3B4F15 #154F46 #29154F
split-complementary
#4F151E #154F29 #153B4F
monochromatic
#180609 #1F080C #4F151E #7F2230 #B02F43

Accessibility & contrast

On white

14.40
#4F151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F151E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F151E#FFFFFF#000000##FFFFFF
##4F151E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f151e;
/* rgb */ color: rgb(79, 21, 30);
/* oklch */ color: oklch(29.5% 0.087 15.2);
Tailwind
colors: {
  custom: {
    50: '#855759',
    500: '#4f151e',
    950: '#000000',
  },
}
SCSS
$custom: #4f151e;
$custom-light: #855759;
$custom-dark: #000000;
JSON
{
  "hex": "#4f151e",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 350.69,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29494,
    "c": 0.08664,
    "h": 15.2
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#4F151E
secondary
#39877B
accent
#E1C947
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F151E

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

Preview Lab → · Contrast checker → · Palette generator →

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