#4D1017#4D1017

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

Color values

HEX#4D1017
RGBrgb(77, 16, 23)
HSLhsl(353, 66%, 18%)
HSVhsv(353, 79%, 30%)
CMYKcmyk(0%, 79.2%, 70.1%, 69.8%)
CIE-LABlab(15.54, 28.80, 12.23)
CIE-LCHlch(15.54, 31.29, 23.01°)
OKLaboklab(28.31% 0.0856 0.0293)
OKLCHoklch(28.31% 0.09 18.9)
XYZxyz(3.4009, 2.0107, 1.0195)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1017 #104D46
analogous
#4D1035 #4D1017 #4D2710
triadic
#4D1017 #174D10 #10174D
tetradic
#4D1017 #354D10 #104D46 #27104D
square
#4D1017 #354D10 #104D46 #27104D
split-complementary
#4D1017 #104D27 #10354D
monochromatic
#190508 #1A0508 #4D1017 #801B26 #B22535

Accessibility & contrast

On white

14.98
#4D1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1017
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1017#FFFFFF#000000##FFFFFF
##4D10171.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1017;
/* rgb */ color: rgb(77, 16, 23);
/* oklch */ color: oklch(28.3% 0.090 18.9);
Tailwind
colors: {
  custom: {
    50: '#845353',
    500: '#4d1017',
    950: '#000000',
  },
}
SCSS
$custom: #4d1017;
$custom-light: #845353;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1017",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 353.115,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28313,
    "c": 0.09044,
    "h": 18.9
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#4D1017
secondary
#32877D
accent
#E9D53F
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4D1017

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

Preview Lab → · Contrast checker → · Palette generator →

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