#4F170B#4F170B

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

Color values

HEX#4F170B
RGBrgb(79, 23, 11)
HSLhsl(11, 76%, 18%)
HSVhsv(11, 86%, 31%)
CMYKcmyk(0%, 70.9%, 86.1%, 69%)
CIE-LABlab(16.99, 25.60, 21.12)
CIE-LCHlch(16.99, 33.19, 39.52°)
OKLaboklab(29.41% 0.0723 0.0483)
OKLCHoklch(29.41% 0.087 33.7)
XYZxyz(3.5917, 2.2997, 0.5713)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F170B #0B434F
analogous
#4F0B21 #4F170B #4F390B
triadic
#4F170B #0B4F17 #170B4F
tetradic
#4F170B #214F0B #0B434F #390B4F
square
#4F170B #214F0B #0B434F #390B4F
split-complementary
#4F170B #0B4F39 #0B214F
monochromatic
#1B0804 #1B0804 #4F170B #852712 #BA361A

Accessibility & contrast

On white

14.39
#4F170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F170B
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F170B#FFFFFF#000000##FFFFFF
##4F170B1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#352E09
Tritanopia (blue-blind)
#580815
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f170b;
/* rgb */ color: rgb(79, 23, 11);
/* oklch */ color: oklch(29.4% 0.087 33.7);
Tailwind
colors: {
  custom: {
    50: '#86574b',
    500: '#4f170b',
    950: '#000000',
  },
}
SCSS
$custom: #4f170b;
$custom-light: #86574b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f170b",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 10.588,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29412,
    "c": 0.08699,
    "h": 33.7
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#4F170B
secondary
#2B7A8B
accent
#D1F236
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F170B

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

Preview Lab → · Contrast checker → · Palette generator →

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