#4D1217#4D1217

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

Color values

HEX#4D1217
RGBrgb(77, 18, 23)
HSLhsl(355, 62%, 19%)
HSVhsv(355, 77%, 30%)
CMYKcmyk(0%, 76.6%, 70.1%, 69.8%)
CIE-LABlab(15.86, 27.91, 12.64)
CIE-LCHlch(15.86, 30.64, 24.37°)
OKLaboklab(28.55% 0.0827 0.0303)
OKLCHoklch(28.55% 0.088 20.1)
XYZxyz(3.4319, 2.0727, 1.0298)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1217 #124D48
analogous
#4D1234 #4D1217 #4D2A12
triadic
#4D1217 #174D12 #12174D
tetradic
#4D1217 #344D12 #124D48 #2A124D
square
#4D1217 #344D12 #124D48 #2A124D
split-complementary
#4D1217 #124D2A #12344D
monochromatic
#190607 #1B0608 #4D1217 #7F1E26 #B02935

Accessibility & contrast

On white

14.85
#4D1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4D1217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1217
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1217#FFFFFF#000000##FFFFFF
##4D12171.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222017
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#550414
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d1217;
/* rgb */ color: rgb(77, 18, 23);
/* oklch */ color: oklch(28.6% 0.088 20.1);
Tailwind
colors: {
  custom: {
    50: '#845453',
    500: '#4d1217',
    950: '#000000',
  },
}
SCSS
$custom: #4d1217;
$custom-light: #845453;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1217",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 354.915,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28552,
    "c": 0.08808,
    "h": 20.1
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#4D1217
secondary
#35867F
accent
#E5D743
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4D1217

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

Preview Lab → · Contrast checker → · Palette generator →

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