#4F181A#4F181A

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

Color values

HEX#4F181A
RGBrgb(79, 24, 26)
HSLhsl(358, 53%, 20%)
HSVhsv(358, 70%, 31%)
CMYKcmyk(0%, 69.6%, 67.1%, 69%)
CIE-LABlab(17.42, 26.00, 12.60)
CIE-LCHlch(17.42, 28.89, 25.85°)
OKLaboklab(29.81% 0.077 0.0304)
OKLCHoklch(29.81% 0.083 21.6)
XYZxyz(3.7379, 2.3906, 1.2417)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F181A #184F4D
analogous
#4F1835 #4F181A #4F3118
triadic
#4F181A #1A4F18 #181A4F
tetradic
#4F181A #354F18 #184F4D #31184F
square
#4F181A #354F18 #184F4D #31184F
split-complementary
#4F181A #184F31 #18354F
monochromatic
#170708 #200A0B #4F181A #7E2629 #AD3539

Accessibility & contrast

On white

14.21
#4F181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F181A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F181A#FFFFFF#000000##FFFFFF
##4F181A1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#570D19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f181a;
/* rgb */ color: rgb(79, 24, 26);
/* oklch */ color: oklch(29.8% 0.083 21.6);
Tailwind
colors: {
  custom: {
    50: '#855856',
    500: '#4f181a',
    950: '#000000',
  },
}
SCSS
$custom: #4f181a;
$custom-light: #855856;
$custom-dark: #000000;
JSON
{
  "hex": "#4f181a",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 357.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.08281,
    "h": 21.6
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#4F181A
secondary
#3D8683
accent
#DDD74B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F181A

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

Preview Lab → · Contrast checker → · Palette generator →

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