#4E171E#4E171E

#4E171E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.083 H 16.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4E171E
RGBrgb(78, 23, 30)
HSLhsl(352, 54%, 20%)
HSVhsv(352, 71%, 31%)
CMYKcmyk(0%, 70.5%, 61.5%, 69.4%)
CIE-LABlab(17.12, 26.45, 9.33)
CIE-LCHlch(17.12, 28.05, 19.43°)
OKLaboklab(29.58% 0.0794 0.0232)
OKLCHoklch(29.58% 0.083 16.3)
XYZxyz(3.6830, 2.3267, 1.4832)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E171E #174E47
analogous
#4E1739 #4E171E #4E2C17
triadic
#4E171E #1E4E17 #171E4E
tetradic
#4E171E #394E17 #174E47 #2C174E
square
#4E171E #394E17 #174E47 #2C174E
split-complementary
#4E171E #174E2C #17394E
monochromatic
#180709 #1F090C #4E171E #7D2530 #AD3342

Accessibility & contrast

On white

14.33
#4E171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E171E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E171E#FFFFFF#000000##FFFFFF
##4E171E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#560D1A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e171e;
/* rgb */ color: rgb(78, 23, 30);
/* oklch */ color: oklch(29.6% 0.083 16.3);
Tailwind
colors: {
  custom: {
    50: '#845759',
    500: '#4e171e',
    950: '#000000',
  },
}
SCSS
$custom: #4e171e;
$custom-light: #845759;
$custom-dark: #000000;
JSON
{
  "hex": "#4e171e",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 352.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29576,
    "c": 0.08268,
    "h": 16.3
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#4E171E
secondary
#3C857C
accent
#DECB4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4E171E

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

Preview Lab → · Contrast checker → · Palette generator →

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