#4D1018#4D1018

#4D1018 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.3% C 0.090 H 18.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#4D1018
RGBrgb(77, 16, 24)
HSLhsl(352, 66%, 18%)
HSVhsv(352, 79%, 30%)
CMYKcmyk(0%, 79.2%, 68.8%, 69.8%)
CIE-LABlab(15.56, 28.87, 11.54)
CIE-LCHlch(15.56, 31.09, 21.79°)
OKLaboklab(28.34% 0.086 0.0279)
OKLCHoklch(28.34% 0.09 18)
XYZxyz(3.4111, 2.0148, 1.0733)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1018 #104D45
analogous
#4D1036 #4D1018 #4D2610
triadic
#4D1018 #184D10 #10184D
tetradic
#4D1018 #364D10 #104D45 #26104D
square
#4D1018 #364D10 #104D45 #26104D
split-complementary
#4D1018 #104D26 #10364D
monochromatic
#190508 #1A0508 #4D1018 #801B28 #B22538

Accessibility & contrast

On white

14.97
#4D1018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4D1018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1018
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1018#FFFFFF#000000##FFFFFF
##4D10181.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F18
Deuteranopia (green-blind)
#302C16
Tritanopia (blue-blind)
#550113
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d1018;
/* rgb */ color: rgb(77, 16, 24);
/* oklch */ color: oklch(28.3% 0.090 18.0);
Tailwind
colors: {
  custom: {
    50: '#845454',
    500: '#4d1018',
    950: '#000000',
  },
}
SCSS
$custom: #4d1018;
$custom-light: #845454;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1018",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 352.131,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28336,
    "c": 0.09041,
    "h": 18
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#4D1018
secondary
#32877C
accent
#E9D23F
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4D1018

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

Preview Lab → · Contrast checker → · Palette generator →

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