#4E1F1A#4E1F1A

#4E1F1A is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.7% C 0.072 H 28.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4E1F1A
RGBrgb(78, 31, 26)
HSLhsl(6, 50%, 20%)
HSVhsv(6, 67%, 31%)
CMYKcmyk(0%, 60.3%, 66.7%, 69.4%)
CIE-LABlab(18.69, 21.72, 14.19)
CIE-LCHlch(18.69, 25.94, 33.16°)
OKLaboklab(30.73% 0.0637 0.0341)
OKLCHoklch(30.73% 0.072 28.2)
XYZxyz(3.8187, 2.6747, 1.2923)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F1A #1A494E
analogous
#4E1A2F #4E1F1A #4E391A
triadic
#4E1F1A #1A4E1F #1F1A4E
tetradic
#4E1F1A #2F4E1A #1A494E #391A4E
square
#4E1F1A #2F4E1A #1A494E #391A4E
split-complementary
#4E1F1A #1A4E39 #1A2F4E
monochromatic
#170908 #200D0B #4E1F1A #7C3129 #AA4339

Accessibility & contrast

On white

13.68
#4E1F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F1A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F1A#FFFFFF#000000##FFFFFF
##4E1F1A1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#56171E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1f1a;
/* rgb */ color: rgb(78, 31, 26);
/* oklch */ color: oklch(30.7% 0.072 28.2);
Tailwind
colors: {
  custom: {
    50: '#835c56',
    500: '#4e1f1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f1a;
$custom-light: #835c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f1a",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 5.769,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30734,
    "c": 0.07226,
    "h": 28.2
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#4E1F1A
secondary
#407E84
accent
#CCDA4E
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0403
muted
#7C7978

Preview Lab

Preview with #4E1F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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