#4F161A#4F161A

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

Color values

HEX#4F161A
RGBrgb(79, 22, 26)
HSLhsl(356, 56%, 20%)
HSVhsv(356, 72%, 31%)
CMYKcmyk(0%, 72.2%, 67.1%, 69%)
CIE-LABlab(17.04, 27.01, 12.11)
CIE-LCHlch(17.04, 29.60, 24.16°)
OKLaboklab(29.53% 0.0802 0.0293)
OKLCHoklch(29.53% 0.085 20.1)
XYZxyz(3.6982, 2.3112, 1.2284)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F161A #164F4B
analogous
#4F1637 #4F161A #4F2E16
triadic
#4F161A #1A4F16 #161A4F
tetradic
#4F161A #374F16 #164F4B #2E164F
square
#4F161A #374F16 #164F4B #2E164F
split-complementary
#4F161A #164F2E #16374F
monochromatic
#180708 #1F090A #4F161A #7F232A #AF313A

Accessibility & contrast

On white

14.36
#4F161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F161A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F161A#FFFFFF#000000##FFFFFF
##4F161A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25221A
Deuteranopia (green-blind)
#332E19
Tritanopia (blue-blind)
#570918
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f161a;
/* rgb */ color: rgb(79, 22, 26);
/* oklch */ color: oklch(29.5% 0.085 20.1);
Tailwind
colors: {
  custom: {
    50: '#855756',
    500: '#4f161a',
    950: '#000000',
  },
}
SCSS
$custom: #4f161a;
$custom-light: #855756;
$custom-dark: #000000;
JSON
{
  "hex": "#4f161a",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 355.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2953,
    "c": 0.0854,
    "h": 20.1
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#4F161A
secondary
#3A8681
accent
#E0D548
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F161A

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

Preview Lab → · Contrast checker → · Palette generator →

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