#4F161C#4F161C

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

Color values

HEX#4F161C
RGBrgb(79, 22, 28)
HSLhsl(354, 56%, 20%)
HSVhsv(354, 72%, 31%)
CMYKcmyk(0%, 72.2%, 64.6%, 69%)
CIE-LABlab(17.09, 27.17, 10.75)
CIE-LCHlch(17.09, 29.22, 21.59°)
OKLaboklab(29.58% 0.0811 0.0264)
OKLCHoklch(29.58% 0.085 18)
XYZxyz(3.7213, 2.3204, 1.3503)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F161C #164F49
analogous
#4F1639 #4F161C #4F2C16
triadic
#4F161C #1C4F16 #161C4F
tetradic
#4F161C #394F16 #164F49 #2C164F
square
#4F161C #394F16 #164F49 #2C164F
split-complementary
#4F161C #164F2C #16394F
monochromatic
#180708 #1F090B #4F161C #7F232D #AF313E

Accessibility & contrast

On white

14.34
#4F161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F161C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F161C#FFFFFF#000000##FFFFFF
##4F161C1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231C
Deuteranopia (green-blind)
#332E1B
Tritanopia (blue-blind)
#570A19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f161c;
/* rgb */ color: rgb(79, 22, 28);
/* oklch */ color: oklch(29.6% 0.085 18.0);
Tailwind
colors: {
  custom: {
    50: '#855757',
    500: '#4f161c',
    950: '#000000',
  },
}
SCSS
$custom: #4f161c;
$custom-light: #855757;
$custom-dark: #000000;
JSON
{
  "hex": "#4f161c",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 353.684,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29577,
    "c": 0.08531,
    "h": 18
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#4F161C
secondary
#3A867E
accent
#E0D048
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F161C

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

Preview Lab → · Contrast checker → · Palette generator →

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