#4E1F1F#4E1F1F

#4E1F1F is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.8% C 0.071 H 22.1°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#4E1F1F
RGBrgb(78, 31, 31)
HSLhsl(0, 43%, 21%)
HSVhsv(0, 60%, 31%)
CMYKcmyk(0%, 60.3%, 60.3%, 69.4%)
CIE-LABlab(18.80, 22.17, 10.88)
CIE-LCHlch(18.80, 24.69, 26.13°)
OKLaboklab(30.85% 0.066 0.0269)
OKLCHoklch(30.85% 0.071 22.1)
XYZxyz(3.8795, 2.6991, 1.6127)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F1F #1F4E4E
analogous
#4E1F37 #4E1F1F #4E371F
triadic
#4E1F1F #1F4E1F #1F1F4E
tetradic
#4E1F1F #374E1F #1F4E4E #371F4E
square
#4E1F1F #374E1F #1F4E4E #371F4E
split-complementary
#4E1F1F #1F4E37 #1F374E
monochromatic
#160909 #220E0E #4E1F1F #7A3030 #A64242

Accessibility & contrast

On white

13.64
#4E1F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F1F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F1F#FFFFFF#000000##FFFFFF
##4E1F1F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281F
Deuteranopia (green-blind)
#36311E
Tritanopia (blue-blind)
#56171F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1f1f;
/* rgb */ color: rgb(78, 31, 31);
/* oklch */ color: oklch(30.8% 0.071 22.1);
Tailwind
colors: {
  custom: {
    50: '#835c5a',
    500: '#4e1f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f1f;
$custom-light: #835c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f1f",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 0,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30847,
    "c": 0.0713,
    "h": 22.1
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#4E1F1F
secondary
#468383
accent
#D3D355
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0403
muted
#7C7978

Preview Lab

Preview with #4E1F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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