#4F1A0C#4F1A0C

#4F1A0C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.083 H 35.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4F1A0C
RGBrgb(79, 26, 12)
HSLhsl(13, 74%, 18%)
HSVhsv(13, 85%, 31%)
CMYKcmyk(0%, 67.1%, 84.8%, 69%)
CIE-LABlab(17.59, 24.07, 21.41)
CIE-LCHlch(17.59, 32.21, 41.65°)
OKLaboklab(29.87% 0.0678 0.0487)
OKLCHoklch(29.87% 0.083 35.7)
XYZxyz(3.6606, 2.4281, 0.6237)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A0C #0C414F
analogous
#4F0C20 #4F1A0C #4F3B0C
triadic
#4F1A0C #0C4F1A #1A0C4F
tetradic
#4F1A0C #204F0C #0C414F #3B0C4F
square
#4F1A0C #204F0C #0C414F #3B0C4F
split-complementary
#4F1A0C #0C4F3B #0C204F
monochromatic
#1B0904 #1B0904 #4F1A0C #842B14 #B93D1C

Accessibility & contrast

On white

14.14
#4F1A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F1A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A0C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A0C#FFFFFF#000000##FFFFFF
##4F1A0C1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#580D17
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1a0c;
/* rgb */ color: rgb(79, 26, 12);
/* oklch */ color: oklch(29.9% 0.083 35.7);
Tailwind
colors: {
  custom: {
    50: '#86594c',
    500: '#4f1a0c',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a0c;
$custom-light: #86594c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a0c",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 12.537,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.08348,
    "h": 35.7
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#4F1A0C
secondary
#2C778B
accent
#CAF038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F1A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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