#4F120C#4F120C

#4F120C is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.8% C 0.092 H 29.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#4F120C
RGBrgb(79, 18, 12)
HSLhsl(5, 74%, 18%)
HSVhsv(5, 85%, 31%)
CMYKcmyk(0%, 77.2%, 84.8%, 69%)
CIE-LABlab(16.11, 28.04, 19.59)
CIE-LCHlch(16.11, 34.21, 34.95°)
OKLaboklab(28.76% 0.0802 0.0453)
OKLCHoklch(28.76% 0.092 29.5)
XYZxyz(3.5075, 2.1220, 0.5726)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F120C #0C494F
analogous
#4F0C27 #4F120C #4F330C
triadic
#4F120C #0C4F12 #120C4F
tetradic
#4F120C #274F0C #0C494F #330C4F
square
#4F120C #274F0C #0C494F #330C4F
split-complementary
#4F120C #0C4F33 #0C274F
monochromatic
#1B0604 #1B0604 #4F120C #841E14 #B92A1C

Accessibility & contrast

On white

14.75
#4F120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F120C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F120C#FFFFFF#000000##FFFFFF
##4F120C1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200B
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#580011
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f120c;
/* rgb */ color: rgb(79, 18, 12);
/* oklch */ color: oklch(28.8% 0.092 29.5);
Tailwind
colors: {
  custom: {
    50: '#86554c',
    500: '#4f120c',
    950: '#000000',
  },
}
SCSS
$custom: #4f120c;
$custom-light: #86554c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f120c",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 5.373,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2876,
    "c": 0.09211,
    "h": 29.5
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#4F120C
secondary
#2C828B
accent
#E0F038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F120C

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

Preview Lab → · Contrast checker → · Palette generator →

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