#4D121F#4D121F

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

Color values

HEX#4D121F
RGBrgb(77, 18, 31)
HSLhsl(347, 62%, 19%)
HSVhsv(347, 77%, 30%)
CMYKcmyk(0%, 76.6%, 59.7%, 69.8%)
CIE-LABlab(16.05, 28.57, 7.13)
CIE-LCHlch(16.05, 29.45, 14.01°)
OKLaboklab(28.75% 0.0864 0.018)
OKLCHoklch(28.75% 0.088 11.8)
XYZxyz(3.5245, 2.1098, 1.5177)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D121F #124D40
analogous
#4D123C #4D121F #4D2212
triadic
#4D121F #1F4D12 #121F4D
tetradic
#4D121F #3C4D12 #124D40 #22124D
square
#4D121F #3C4D12 #124D40 #22124D
split-complementary
#4D121F #124D22 #123C4D
monochromatic
#19060A #1B060B #4D121F #7F1E33 #B02947

Accessibility & contrast

On white

14.77
#4D121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D121F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D121F#FFFFFF#000000##FFFFFF
##4D121F1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d121f;
/* rgb */ color: rgb(77, 18, 31);
/* oklch */ color: oklch(28.8% 0.088 11.8);
Tailwind
colors: {
  custom: {
    50: '#83555a',
    500: '#4d121f',
    950: '#000000',
  },
}
SCSS
$custom: #4d121f;
$custom-light: #83555a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d121f",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 346.78,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28754,
    "c": 0.08827,
    "h": 11.8
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#4D121F
secondary
#358674
accent
#E5C143
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D121F

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

Preview Lab → · Contrast checker → · Palette generator →

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