#4E1F2A#4E1F2A

#4E1F2A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.2% C 0.072 H 7.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4E1F2A
RGBrgb(78, 31, 42)
HSLhsl(346, 43%, 21%)
HSVhsv(346, 60%, 31%)
CMYKcmyk(0%, 60.3%, 46.2%, 69.4%)
CIE-LABlab(19.09, 23.40, 3.57)
CIE-LCHlch(19.09, 23.67, 8.67°)
OKLaboklab(31.16% 0.0711 0.0094)
OKLCHoklch(31.16% 0.072 7.6)
XYZxyz(4.0500, 2.7673, 2.5109)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F2A #1F4E43
analogous
#4E1F42 #4E1F2A #4E2C1F
triadic
#4E1F2A #2A4E1F #1F2A4E
tetradic
#4E1F2A #424E1F #1F4E43 #2C1F4E
square
#4E1F2A #424E1F #1F4E43 #2C1F4E
split-complementary
#4E1F2A #1F4E2C #1F424E
monochromatic
#16090C #220E12 #4E1F2A #7A3042 #A64259

Accessibility & contrast

On white

13.52
#4E1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F2A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F2A#FFFFFF#000000##FFFFFF
##4E1F2A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292A
Deuteranopia (green-blind)
#343229
Tritanopia (blue-blind)
#551A23
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1f2a;
/* rgb */ color: rgb(78, 31, 42);
/* oklch */ color: oklch(31.2% 0.072 7.6);
Tailwind
colors: {
  custom: {
    50: '#825d63',
    500: '#4e1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f2a;
$custom-light: #825d63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f2a",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 345.957,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31162,
    "c": 0.07175,
    "h": 7.6
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#4E1F2A
secondary
#468375
accent
#D3B555
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #4E1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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