#4F180C#4F180C

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

Color values

HEX#4F180C
RGBrgb(79, 24, 12)
HSLhsl(11, 74%, 18%)
HSVhsv(11, 85%, 31%)
CMYKcmyk(0%, 69.6%, 84.8%, 69%)
CIE-LABlab(17.19, 25.13, 20.92)
CIE-LCHlch(17.19, 32.70, 39.79°)
OKLaboklab(29.57% 0.0711 0.0478)
OKLCHoklch(29.57% 0.086 33.9)
XYZxyz(3.6178, 2.3426, 0.6094)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F180C #0C434F
analogous
#4F0C22 #4F180C #4F390C
triadic
#4F180C #0C4F18 #180C4F
tetradic
#4F180C #224F0C #0C434F #390C4F
square
#4F180C #224F0C #0C434F #390C4F
split-complementary
#4F180C #0C4F39 #0C224F
monochromatic
#1B0804 #1B0804 #4F180C #842814 #B9381C

Accessibility & contrast

On white

14.30
#4F180C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F180C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F180C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F180C#FFFFFF#000000##FFFFFF
##4F180C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230A
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#580A16
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f180c;
/* rgb */ color: rgb(79, 24, 12);
/* oklch */ color: oklch(29.6% 0.086 33.9);
Tailwind
colors: {
  custom: {
    50: '#86584c',
    500: '#4f180c',
    950: '#000000',
  },
}
SCSS
$custom: #4f180c;
$custom-light: #86584c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f180c",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 12
  },
  "hsl": {
    "h": 10.746,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29569,
    "c": 0.08566,
    "h": 33.9
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#4F180C
secondary
#2C7A8B
accent
#CFF038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F180C

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

Preview Lab → · Contrast checker → · Palette generator →

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