#4E171F#4E171F

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

Color values

HEX#4E171F
RGBrgb(78, 23, 31)
HSLhsl(351, 54%, 20%)
HSVhsv(351, 71%, 31%)
CMYKcmyk(0%, 70.5%, 60.3%, 69.4%)
CIE-LABlab(17.14, 26.55, 8.65)
CIE-LCHlch(17.14, 27.92, 18.05°)
OKLaboklab(29.6% 0.0798 0.0216)
OKLCHoklch(29.6% 0.083 15.2)
XYZxyz(3.6959, 2.3319, 1.5515)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E171F #174E46
analogous
#4E173A #4E171F #4E2B17
triadic
#4E171F #1F4E17 #171F4E
tetradic
#4E171F #3A4E17 #174E46 #2B174E
square
#4E171F #3A4E17 #174E46 #2B174E
split-complementary
#4E171F #174E2B #173A4E
monochromatic
#180709 #1F090C #4E171F #7D2532 #AD3345

Accessibility & contrast

On white

14.32
#4E171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E171F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E171F#FFFFFF#000000##FFFFFF
##4E171F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e171f;
/* rgb */ color: rgb(78, 23, 31);
/* oklch */ color: oklch(29.6% 0.083 15.2);
Tailwind
colors: {
  custom: {
    50: '#84575a',
    500: '#4e171f',
    950: '#000000',
  },
}
SCSS
$custom: #4e171f;
$custom-light: #84575a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e171f",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 351.273,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.08272,
    "h": 15.2
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#4E171F
secondary
#3C857A
accent
#DEC84A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4E171F

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

Preview Lab → · Contrast checker → · Palette generator →

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