#4D1317#4D1317

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

Color values

HEX#4D1317
RGBrgb(77, 19, 23)
HSLhsl(356, 60%, 19%)
HSVhsv(356, 75%, 30%)
CMYKcmyk(0%, 75.3%, 70.1%, 69.8%)
CIE-LABlab(16.03, 27.45, 12.86)
CIE-LCHlch(16.03, 30.31, 25.10°)
OKLaboklab(28.68% 0.0813 0.0308)
OKLCHoklch(28.68% 0.087 20.7)
XYZxyz(3.4484, 2.1059, 1.0353)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1317 #134D49
analogous
#4D1334 #4D1317 #4D2C13
triadic
#4D1317 #174D13 #13174D
tetradic
#4D1317 #344D13 #134D49 #2C134D
square
#4D1317 #344D13 #134D49 #2C134D
split-complementary
#4D1317 #134D2C #13344D
monochromatic
#190607 #1C0708 #4D1317 #7E1F26 #AF2B34

Accessibility & contrast

On white

14.78
#4D1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1317
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1317#FFFFFF#000000##FFFFFF
##4D13171.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#550515
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d1317;
/* rgb */ color: rgb(77, 19, 23);
/* oklch */ color: oklch(28.7% 0.087 20.7);
Tailwind
colors: {
  custom: {
    50: '#845553',
    500: '#4d1317',
    950: '#000000',
  },
}
SCSS
$custom: #4d1317;
$custom-light: #845553;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1317",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 355.862,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28678,
    "c": 0.08688,
    "h": 20.7
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#4D1317
secondary
#368680
accent
#E4D944
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4D1317

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

Preview Lab → · Contrast checker → · Palette generator →

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