#4F161B#4F161B

#4F161B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.085 H 19.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4F161B
RGBrgb(79, 22, 27)
HSLhsl(355, 56%, 20%)
HSVhsv(355, 72%, 31%)
CMYKcmyk(0%, 72.2%, 65.8%, 69%)
CIE-LABlab(17.06, 27.09, 11.43)
CIE-LCHlch(17.06, 29.40, 22.88°)
OKLaboklab(29.55% 0.0807 0.0279)
OKLCHoklch(29.55% 0.085 19)
XYZxyz(3.7095, 2.3157, 1.2883)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F161B #164F4A
analogous
#4F1638 #4F161B #4F2E16
triadic
#4F161B #1B4F16 #161B4F
tetradic
#4F161B #384F16 #164F4A #2E164F
square
#4F161B #384F16 #164F4A #2E164F
split-complementary
#4F161B #164F2E #16384F
monochromatic
#180708 #1F090B #4F161B #7F232B #AF313C

Accessibility & contrast

On white

14.35
#4F161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F161B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F161B#FFFFFF#000000##FFFFFF
##4F161B1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25221B
Deuteranopia (green-blind)
#332E1A
Tritanopia (blue-blind)
#570A18
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f161b;
/* rgb */ color: rgb(79, 22, 27);
/* oklch */ color: oklch(29.6% 0.085 19.0);
Tailwind
colors: {
  custom: {
    50: '#855757',
    500: '#4f161b',
    950: '#000000',
  },
}
SCSS
$custom: #4f161b;
$custom-light: #855757;
$custom-dark: #000000;
JSON
{
  "hex": "#4f161b",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 354.737,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29553,
    "c": 0.08535,
    "h": 19
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#4F161B
secondary
#3A8680
accent
#E0D248
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F161B

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

Preview Lab → · Contrast checker → · Palette generator →

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