#4D1817#4D1817

#4D1817 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.081 H 24.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#4D1817
RGBrgb(77, 24, 23)
HSLhsl(1, 54%, 20%)
HSVhsv(1, 70%, 30%)
CMYKcmyk(0%, 68.8%, 70.1%, 69.8%)
CIE-LABlab(16.96, 24.95, 14.03)
CIE-LCHlch(16.96, 28.63, 29.34°)
OKLaboklab(29.37% 0.0734 0.0334)
OKLCHoklch(29.37% 0.081 24.5)
XYZxyz(3.5422, 2.2934, 1.0666)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1817 #174C4D
analogous
#4D1731 #4D1817 #4D3317
triadic
#4D1817 #174D18 #18174D
tetradic
#4D1817 #314D17 #174C4D #33174D
square
#4D1817 #314D17 #174C4D #33174D
split-complementary
#4D1817 #174D33 #17314D
monochromatic
#180707 #1E0909 #4D1817 #7C2725 #AB3533

Accessibility & contrast

On white

14.40
#4D1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1817
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1817#FFFFFF#000000##FFFFFF
##4D18171.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262316
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#550D18
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1817;
/* rgb */ color: rgb(77, 24, 23);
/* oklch */ color: oklch(29.4% 0.081 24.5);
Tailwind
colors: {
  custom: {
    50: '#835853',
    500: '#4d1817',
    950: '#000000',
  },
}
SCSS
$custom: #4d1817;
$custom-light: #835853;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1817",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 1.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2937,
    "c": 0.0806,
    "h": 24.5
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#4D1817
secondary
#3C8384
accent
#DBDD4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4D1817

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

Preview Lab → · Contrast checker → · Palette generator →

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