#4D121E#4D121E

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

Color values

HEX#4D121E
RGBrgb(77, 18, 30)
HSLhsl(348, 62%, 19%)
HSVhsv(348, 77%, 30%)
CMYKcmyk(0%, 76.6%, 61%, 69.8%)
CIE-LABlab(16.03, 28.48, 7.82)
CIE-LCHlch(16.03, 29.54, 15.35°)
OKLaboklab(28.73% 0.086 0.0196)
OKLCHoklch(28.73% 0.088 12.8)
XYZxyz(3.5115, 2.1046, 1.4494)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D121E #124D41
analogous
#4D123B #4D121E #4D2312
triadic
#4D121E #1E4D12 #121E4D
tetradic
#4D121E #3B4D12 #124D41 #23124D
square
#4D121E #3B4D12 #124D41 #23124D
split-complementary
#4D121E #124D23 #123B4D
monochromatic
#19060A #1B060B #4D121E #7F1E31 #B02945

Accessibility & contrast

On white

14.78
#4D121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D121E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D121E#FFFFFF#000000##FFFFFF
##4D121E1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#550617
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d121e;
/* rgb */ color: rgb(77, 18, 30);
/* oklch */ color: oklch(28.7% 0.088 12.8);
Tailwind
colors: {
  custom: {
    50: '#835559',
    500: '#4d121e',
    950: '#000000',
  },
}
SCSS
$custom: #4d121e;
$custom-light: #835559;
$custom-dark: #000000;
JSON
{
  "hex": "#4d121e",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 347.797,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.08817,
    "h": 12.8
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#4D121E
secondary
#358675
accent
#E5C443
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D121E

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

Preview Lab → · Contrast checker → · Palette generator →

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