#4E1B17#4E1B17

#4E1B17 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.0% C 0.078 H 27.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#4E1B17
RGBrgb(78, 27, 23)
HSLhsl(4, 54%, 20%)
HSVhsv(4, 71%, 31%)
CMYKcmyk(0%, 65.4%, 70.5%, 69.4%)
CIE-LABlab(17.76, 23.75, 15.08)
CIE-LCHlch(17.76, 28.13, 32.41°)
OKLaboklab(30.01% 0.0694 0.0357)
OKLCHoklch(30.01% 0.078 27.2)
XYZxyz(3.6888, 2.4659, 1.0922)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B17 #174A4E
analogous
#4E172E #4E1B17 #4E3717
triadic
#4E1B17 #174E1B #1B174E
tetradic
#4E1B17 #2E4E17 #174A4E #37174E
square
#4E1B17 #2E4E17 #174A4E #37174E
split-complementary
#4E1B17 #174E37 #172E4E
monochromatic
#180807 #1F0B09 #4E1B17 #7D2B25 #AD3C33

Accessibility & contrast

On white

14.07
#4E1B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B17
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B17#FFFFFF#000000##FFFFFF
##4E1B171.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282516
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#56111A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1b17;
/* rgb */ color: rgb(78, 27, 23);
/* oklch */ color: oklch(30.0% 0.078 27.2);
Tailwind
colors: {
  custom: {
    50: '#845a54',
    500: '#4e1b17',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b17;
$custom-light: #845a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b17",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 23
  },
  "hsl": {
    "h": 4.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30015,
    "c": 0.0781,
    "h": 27.2
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#4E1B17
secondary
#3C8085
accent
#D3DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0402
muted
#7C7978

Preview Lab

Preview with #4E1B17

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

Preview Lab → · Contrast checker → · Palette generator →

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