#4F170E#4F170E

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

Color values

HEX#4F170E
RGBrgb(79, 23, 14)
HSLhsl(8, 70%, 18%)
HSVhsv(8, 82%, 31%)
CMYKcmyk(0%, 70.9%, 82.3%, 69%)
CIE-LABlab(17.02, 25.74, 19.76)
CIE-LCHlch(17.02, 32.45, 37.52°)
OKLaboklab(29.45% 0.0735 0.0453)
OKLCHoklch(29.45% 0.086 31.6)
XYZxyz(3.6105, 2.3073, 0.6706)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F170E #0E464F
analogous
#4F0E25 #4F170E #4F370E
triadic
#4F170E #0E4F17 #170E4F
tetradic
#4F170E #254F0E #0E464F #370E4F
square
#4F170E #254F0E #0E464F #370E4F
split-complementary
#4F170E #0E4F37 #0E254F
monochromatic
#1A0805 #1B0805 #4F170E #832617 #B73520

Accessibility & contrast

On white

14.37
#4F170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F170E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F170E#FFFFFF#000000##FFFFFF
##4F170E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220D
Deuteranopia (green-blind)
#352E0C
Tritanopia (blue-blind)
#580815
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f170e;
/* rgb */ color: rgb(79, 23, 14);
/* oklch */ color: oklch(29.4% 0.086 31.6);
Tailwind
colors: {
  custom: {
    50: '#86574d',
    500: '#4f170e',
    950: '#000000',
  },
}
SCSS
$custom: #4f170e;
$custom-light: #86574d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f170e",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 8.308,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2945,
    "c": 0.08627,
    "h": 31.6
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#4F170E
secondary
#2F7D8A
accent
#D4ED3B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F170E

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

Preview Lab → · Contrast checker → · Palette generator →

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