#4F1712#4F1712

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

Color values

HEX#4F1712
RGBrgb(79, 23, 18)
HSLhsl(5, 63%, 19%)
HSVhsv(5, 77%, 31%)
CMYKcmyk(0%, 70.9%, 77.2%, 69%)
CIE-LABlab(17.08, 25.95, 17.60)
CIE-LCHlch(17.08, 31.36, 34.15°)
OKLaboklab(29.51% 0.0751 0.0406)
OKLCHoklch(29.51% 0.085 28.4)
XYZxyz(3.6404, 2.3192, 0.8281)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1712 #124A4F
analogous
#4F122C #4F1712 #4F3612
triadic
#4F1712 #124F17 #17124F
tetradic
#4F1712 #2C4F12 #124A4F #36124F
square
#4F1712 #2C4F12 #124A4F #36124F
split-complementary
#4F1712 #124F36 #122C4F
monochromatic
#190706 #1D0807 #4F1712 #81261D #B33429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1712#FFFFFF#000000##FFFFFF
##4F17121.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)
#262211
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#570916
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1712;
/* rgb */ color: rgb(79, 23, 18);
/* oklch */ color: oklch(29.5% 0.085 28.4);
Tailwind
colors: {
  custom: {
    50: '#865750',
    500: '#4f1712',
    950: '#000000',
  },
}
SCSS
$custom: #4f1712;
$custom-light: #865750;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1712",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 4.918,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29511,
    "c": 0.08536,
    "h": 28.4
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4F1712
secondary
#358188
accent
#D8E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1712

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

Preview Lab → · Contrast checker → · Palette generator →

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