#4D120F#4D120F

#4D120F is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.4% C 0.089 H 27.3°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4D120F
RGBrgb(77, 18, 15)
HSLhsl(3, 67%, 18%)
HSVhsv(3, 81%, 30%)
CMYKcmyk(0%, 76.6%, 80.5%, 69.8%)
CIE-LABlab(15.72, 27.41, 17.53)
CIE-LCHlch(15.72, 32.54, 32.60°)
OKLaboklab(28.4% 0.0792 0.0408)
OKLCHoklch(28.4% 0.089 27.3)
XYZxyz(3.3635, 2.0454, 0.6695)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D120F #0F4A4D
analogous
#4D0F2B #4D120F #4D310F
triadic
#4D120F #0F4D12 #120F4D
tetradic
#4D120F #2B4D0F #0F4A4D #310F4D
square
#4D120F #2B4D0F #0F4A4D #310F4D
split-complementary
#4D120F #0F4D31 #0F2B4D
monochromatic
#1A0605 #1A0605 #4D120F #801E19 #B32A23

Accessibility & contrast

On white

14.90
#4D120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4D120F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D120F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D120F#FFFFFF#000000##FFFFFF
##4D120F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0E
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#550212
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d120f;
/* rgb */ color: rgb(77, 18, 15);
/* oklch */ color: oklch(28.4% 0.089 27.3);
Tailwind
colors: {
  custom: {
    50: '#84544e',
    500: '#4d120f',
    950: '#000000',
  },
}
SCSS
$custom: #4d120f;
$custom-light: #84544e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d120f",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.903,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28401,
    "c": 0.08912,
    "h": 27.3
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#4D120F
secondary
#318387
accent
#E2EA3E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4D120F

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

Preview Lab → · Contrast checker → · Palette generator →

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