#4D181E#4D181E

#4D181E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.080 H 16.8°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4D181E
RGBrgb(77, 24, 30)
HSLhsl(353, 52%, 20%)
HSVhsv(353, 69%, 30%)
CMYKcmyk(0%, 68.8%, 61%, 69.8%)
CIE-LABlab(17.11, 25.54, 9.29)
CIE-LCHlch(17.11, 27.18, 19.98°)
OKLaboklab(29.53% 0.0766 0.0231)
OKLCHoklch(29.53% 0.08 16.8)
XYZxyz(3.6219, 2.3253, 1.4861)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D181E #184D47
analogous
#4D1838 #4D181E #4D2D18
triadic
#4D181E #1E4D18 #181E4D
tetradic
#4D181E #384D18 #184D47 #2D184D
square
#4D181E #384D18 #184D47 #2D184D
split-complementary
#4D181E #184D2D #18384D
monochromatic
#170709 #1E090C #4D181E #7C2730 #AA3542

Accessibility & contrast

On white

14.33
#4D181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D181E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D181E#FFFFFF#000000##FFFFFF
##4D181E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#550F1A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d181e;
/* rgb */ color: rgb(77, 24, 30);
/* oklch */ color: oklch(29.5% 0.080 16.8);
Tailwind
colors: {
  custom: {
    50: '#835859',
    500: '#4d181e',
    950: '#000000',
  },
}
SCSS
$custom: #4d181e;
$custom-light: #835859;
$custom-dark: #000000;
JSON
{
  "hex": "#4d181e",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 353.208,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.08001,
    "h": 16.8
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#4D181E
secondary
#3D847C
accent
#DCCC4C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4D181E

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

Preview Lab → · Contrast checker → · Palette generator →

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