#4F120B#4F120B

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

Color values

HEX#4F120B
RGBrgb(79, 18, 11)
HSLhsl(6, 76%, 18%)
HSVhsv(6, 86%, 31%)
CMYKcmyk(0%, 77.2%, 86.1%, 69%)
CIE-LABlab(16.10, 28.00, 20.02)
CIE-LCHlch(16.10, 34.42, 35.57°)
OKLaboklab(28.75% 0.0798 0.0464)
OKLCHoklch(28.75% 0.092 30.1)
XYZxyz(3.5016, 2.1196, 0.5413)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F120B #0B484F
analogous
#4F0B26 #4F120B #4F340B
triadic
#4F120B #0B4F12 #120B4F
tetradic
#4F120B #264F0B #0B484F #340B4F
square
#4F120B #264F0B #0B484F #340B4F
split-complementary
#4F120B #0B4F34 #0B264F
monochromatic
#1B0604 #1B0604 #4F120B #851E12 #BA2A1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F120B#FFFFFF#000000##FFFFFF
##4F120B1.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)
#241F0A
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#580011
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f120b;
/* rgb */ color: rgb(79, 18, 11);
/* oklch */ color: oklch(28.7% 0.092 30.1);
Tailwind
colors: {
  custom: {
    50: '#86554b',
    500: '#4f120b',
    950: '#000000',
  },
}
SCSS
$custom: #4f120b;
$custom-light: #86554b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f120b",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 11
  },
  "hsl": {
    "h": 6.176,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.09229,
    "h": 30.1
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#4F120B
secondary
#2B818B
accent
#DFF236
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F120B

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

Preview Lab → · Contrast checker → · Palette generator →

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