#4E171D#4E171D

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

Color values

HEX#4E171D
RGBrgb(78, 23, 29)
HSLhsl(353, 54%, 20%)
HSVhsv(353, 71%, 31%)
CMYKcmyk(0%, 70.5%, 62.8%, 69.4%)
CIE-LABlab(17.09, 26.36, 10.01)
CIE-LCHlch(17.09, 28.20, 20.79°)
OKLaboklab(29.55% 0.0789 0.0247)
OKLCHoklch(29.55% 0.083 17.4)
XYZxyz(3.6704, 2.3217, 1.4170)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E171D #174E48
analogous
#4E1738 #4E171D #4E2D17
triadic
#4E171D #1D4E17 #171D4E
tetradic
#4E171D #384E17 #174E48 #2D174E
square
#4E171D #384E17 #174E48 #2D174E
split-complementary
#4E171D #174E2D #17384E
monochromatic
#180709 #1F090B #4E171D #7D252F #AD3340

Accessibility & contrast

On white

14.34
#4E171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E171D
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E171D#FFFFFF#000000##FFFFFF
##4E171D1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#332E1C
Tritanopia (blue-blind)
#560C19
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e171d;
/* rgb */ color: rgb(78, 23, 29);
/* oklch */ color: oklch(29.6% 0.083 17.4);
Tailwind
colors: {
  custom: {
    50: '#845758',
    500: '#4e171d',
    950: '#000000',
  },
}
SCSS
$custom: #4e171d;
$custom-light: #845758;
$custom-dark: #000000;
JSON
{
  "hex": "#4e171d",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 353.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29551,
    "c": 0.08269,
    "h": 17.4
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#4E171D
secondary
#3C857D
accent
#DECE4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4E171D

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

Preview Lab → · Contrast checker → · Palette generator →

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