#4F120D#4F120D

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

Color values

HEX#4F120D
RGBrgb(79, 18, 13)
HSLhsl(5, 72%, 18%)
HSVhsv(5, 84%, 31%)
CMYKcmyk(0%, 77.2%, 83.5%, 69%)
CIE-LABlab(16.13, 28.08, 19.14)
CIE-LCHlch(16.13, 33.99, 34.28°)
OKLaboklab(28.77% 0.0806 0.0443)
OKLCHoklch(28.77% 0.092 28.8)
XYZxyz(3.5138, 2.1245, 0.6057)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F120D #0D4A4F
analogous
#4F0D29 #4F120D #4F330D
triadic
#4F120D #0D4F12 #120D4F
tetradic
#4F120D #294F0D #0D4A4F #330D4F
square
#4F120D #294F0D #0D4A4F #330D4F
split-complementary
#4F120D #0D4F33 #0D294F
monochromatic
#1A0604 #1A0604 #4F120D #841E16 #B82A1E

Accessibility & contrast

On white

14.74
#4F120D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F120D
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F120D#FFFFFF#000000##FFFFFF
##4F120D1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f120d;
/* rgb */ color: rgb(79, 18, 13);
/* oklch */ color: oklch(28.8% 0.092 28.8);
Tailwind
colors: {
  custom: {
    50: '#86554c',
    500: '#4f120d',
    950: '#000000',
  },
}
SCSS
$custom: #4f120d;
$custom-light: #86554c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f120d",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 13
  },
  "hsl": {
    "h": 4.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28774,
    "c": 0.09191,
    "h": 28.8
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#4F120D
secondary
#2E838A
accent
#E1EE39
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F120D

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

Preview Lab → · Contrast checker → · Palette generator →

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