#4D121C#4D121C

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

Color values

HEX#4D121C
RGBrgb(77, 18, 28)
HSLhsl(350, 62%, 19%)
HSVhsv(350, 77%, 30%)
CMYKcmyk(0%, 76.6%, 63.6%, 69.8%)
CIE-LABlab(15.98, 28.31, 9.20)
CIE-LCHlch(15.98, 29.76, 18.00°)
OKLaboklab(28.67% 0.085 0.0228)
OKLCHoklch(28.67% 0.088 15)
XYZxyz(3.4868, 2.0947, 1.3191)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D121C #124D43
analogous
#4D1239 #4D121C #4D2512
triadic
#4D121C #1C4D12 #121C4D
tetradic
#4D121C #394D12 #124D43 #25124D
square
#4D121C #394D12 #124D43 #25124D
split-complementary
#4D121C #124D25 #12394D
monochromatic
#190609 #1B060A #4D121C #7F1E2E #B02940

Accessibility & contrast

On white

14.80
#4D121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D121C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D121C#FFFFFF#000000##FFFFFF
##4D121C1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201C
Deuteranopia (green-blind)
#302C1A
Tritanopia (blue-blind)
#550516
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d121c;
/* rgb */ color: rgb(77, 18, 28);
/* oklch */ color: oklch(28.7% 0.088 15.0);
Tailwind
colors: {
  custom: {
    50: '#835557',
    500: '#4d121c',
    950: '#000000',
  },
}
SCSS
$custom: #4d121c;
$custom-light: #835557;
$custom-dark: #000000;
JSON
{
  "hex": "#4d121c",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 349.831,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28672,
    "c": 0.08803,
    "h": 15
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#4D121C
secondary
#358678
accent
#E5CA43
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D121C

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

Preview Lab → · Contrast checker → · Palette generator →

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