#4D1818#4D1818

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

Color values

HEX#4D1818
RGBrgb(77, 24, 24)
HSLhsl(0, 52%, 20%)
HSVhsv(0, 69%, 30%)
CMYKcmyk(0%, 68.8%, 68.8%, 69.8%)
CIE-LABlab(16.98, 25.03, 13.36)
CIE-LCHlch(16.98, 28.37, 28.08°)
OKLaboklab(29.39% 0.0738 0.032)
OKLCHoklch(29.39% 0.08 23.4)
XYZxyz(3.5524, 2.2975, 1.1204)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1818 #184D4D
analogous
#4D1833 #4D1818 #4D3318
triadic
#4D1818 #184D18 #18184D
tetradic
#4D1818 #334D18 #184D4D #33184D
square
#4D1818 #334D18 #184D4D #33184D
split-complementary
#4D1818 #184D33 #18334D
monochromatic
#170707 #1E0909 #4D1818 #7C2727 #AA3535

Accessibility & contrast

On white

14.39
#4D1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1818
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1818#FFFFFF#000000##FFFFFF
##4D18181.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#332E17
Tritanopia (blue-blind)
#550D19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1818;
/* rgb */ color: rgb(77, 24, 24);
/* oklch */ color: oklch(29.4% 0.080 23.4);
Tailwind
colors: {
  custom: {
    50: '#835854',
    500: '#4d1818',
    950: '#000000',
  },
}
SCSS
$custom: #4d1818;
$custom-light: #835854;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1818",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29391,
    "c": 0.08045,
    "h": 23.4
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#4D1818
secondary
#3D8484
accent
#DCDC4C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4D1818

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

Preview Lab → · Contrast checker → · Palette generator →

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