#4E1C17#4E1C17

#4E1C17 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.077 H 28.2°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4E1C17
RGBrgb(78, 28, 23)
HSLhsl(5, 54%, 20%)
HSVhsv(5, 71%, 31%)
CMYKcmyk(0%, 64.1%, 70.5%, 69.4%)
CIE-LABlab(17.98, 23.20, 15.34)
CIE-LCHlch(17.98, 27.81, 33.48°)
OKLaboklab(30.18% 0.0677 0.0363)
OKLCHoklch(30.18% 0.077 28.2)
XYZxyz(3.7121, 2.5125, 1.0999)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C17 #17494E
analogous
#4E172D #4E1C17 #4E3817
triadic
#4E1C17 #174E1C #1C174E
tetradic
#4E1C17 #2D4E17 #17494E #38174E
square
#4E1C17 #2D4E17 #17494E #38174E
split-complementary
#4E1C17 #174E38 #172D4E
monochromatic
#180807 #1F0B09 #4E1C17 #7D2D25 #AD3E33

Accessibility & contrast

On white

13.98
#4E1C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C17
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C17#FFFFFF#000000##FFFFFF
##4E1C171.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292516
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#56121B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1c17;
/* rgb */ color: rgb(78, 28, 23);
/* oklch */ color: oklch(30.2% 0.077 28.2);
Tailwind
colors: {
  custom: {
    50: '#845a54',
    500: '#4e1c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c17;
$custom-light: #845a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c17",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 5.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30175,
    "c": 0.07683,
    "h": 28.2
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#4E1C17
secondary
#3C7E85
accent
#D0DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0402
muted
#7C7978

Preview Lab

Preview with #4E1C17

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

Preview Lab → · Contrast checker → · Palette generator →

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