#4D0C1C#4D0C1C

#4D0C1C is a dark, moderate red. Relative luminance 0.019; OKLCH L 28.0% C 0.095 H 12.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#4D0C1C
RGBrgb(77, 12, 28)
HSLhsl(345, 73%, 17%)
HSVhsv(345, 84%, 30%)
CMYKcmyk(0%, 84.4%, 63.6%, 69.8%)
CIE-LABlab(15.09, 30.77, 8.00)
CIE-LCHlch(15.09, 31.80, 14.57°)
OKLaboklab(28.01% 0.093 0.0199)
OKLCHoklch(28.01% 0.095 12.1)
XYZxyz(3.4020, 1.9251, 1.2908)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C1C #0C4D3D
analogous
#4D0C3C #4D0C1C #4D1D0C
triadic
#4D0C1C #1C4D0C #0C1C4D
tetradic
#4D0C1C #3C4D0C #0C4D3D #1D0C4D
square
#4D0C1C #3C4D0C #0C4D3D #1D0C4D
split-complementary
#4D0C1C #0C4D1D #0C3C4D
monochromatic
#1A040A #1A040A #4D0C1C #82142F #B71D43

Accessibility & contrast

On white

15.16
#4D0C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4D0C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C1C
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C1C#FFFFFF#000000##FFFFFF
##4D0C1C1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D1C
Deuteranopia (green-blind)
#2E2B1A
Tritanopia (blue-blind)
#550013
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4d0c1c;
/* rgb */ color: rgb(77, 12, 28);
/* oklch */ color: oklch(28.0% 0.095 12.1);
Tailwind
colors: {
  custom: {
    50: '#845257',
    500: '#4d0c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c1c;
$custom-light: #845257;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c1c",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 28
  },
  "hsl": {
    "h": 345.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28013,
    "c": 0.09507,
    "h": 12.1
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#4D0C1C
secondary
#2C8972
accent
#F0C338
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4D0C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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