#4E1A1B#4E1A1B

#4E1A1B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.079 H 22.0°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#4E1A1B
RGBrgb(78, 26, 27)
HSLhsl(359, 50%, 20%)
HSVhsv(359, 67%, 31%)
CMYKcmyk(0%, 66.7%, 65.4%, 69.4%)
CIE-LABlab(17.64, 24.62, 12.14)
CIE-LCHlch(17.64, 27.45, 26.26°)
OKLaboklab(29.95% 0.073 0.0295)
OKLCHoklch(29.95% 0.079 22)
XYZxyz(3.7094, 2.4381, 1.3120)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A1B #1A4E4D
analogous
#4E1A35 #4E1A1B #4E331A
triadic
#4E1A1B #1B4E1A #1A1B4E
tetradic
#4E1A1B #354E1A #1A4E4D #331A4E
square
#4E1A1B #354E1A #1A4E4D #331A4E
split-complementary
#4E1A1B #1A4E33 #1A354E
monochromatic
#170808 #200B0B #4E1A1B #7C292B #AA393B

Accessibility & contrast

On white

14.12
#4E1A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A1B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A1B#FFFFFF#000000##FFFFFF
##4E1A1B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241B
Deuteranopia (green-blind)
#342F1A
Tritanopia (blue-blind)
#56101B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1a1b;
/* rgb */ color: rgb(78, 26, 27);
/* oklch */ color: oklch(29.9% 0.079 22.0);
Tailwind
colors: {
  custom: {
    50: '#845957',
    500: '#4e1a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a1b;
$custom-light: #845957;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a1b",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 358.846,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29945,
    "c": 0.07873,
    "h": 22
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#4E1A1B
secondary
#408483
accent
#DAD74E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0403
muted
#7C7978

Preview Lab

Preview with #4E1A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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