#4E1717#4E1717

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

Color values

HEX#4E1717
RGBrgb(78, 23, 23)
HSLhsl(0, 54%, 20%)
HSVhsv(0, 71%, 31%)
CMYKcmyk(0%, 70.5%, 70.5%, 69.4%)
CIE-LABlab(16.96, 25.88, 14.08)
CIE-LCHlch(16.96, 29.46, 28.55°)
OKLaboklab(29.41% 0.0761 0.0335)
OKLCHoklch(29.41% 0.083 23.7)
XYZxyz(3.6033, 2.2948, 1.0637)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1717 #174E4E
analogous
#4E1733 #4E1717 #4E3317
triadic
#4E1717 #174E17 #17174E
tetradic
#4E1717 #334E17 #174E4E #33174E
square
#4E1717 #334E17 #174E4E #33174E
split-complementary
#4E1717 #174E33 #17334E
monochromatic
#180707 #1F0909 #4E1717 #7D2525 #AD3333

Accessibility & contrast

On white

14.40
#4E1717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1717
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1717#FFFFFF#000000##FFFFFF
##4E17171.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#332E16
Tritanopia (blue-blind)
#560B18
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1717;
/* rgb */ color: rgb(78, 23, 23);
/* oklch */ color: oklch(29.4% 0.083 23.7);
Tailwind
colors: {
  custom: {
    50: '#845753',
    500: '#4e1717',
    950: '#000000',
  },
}
SCSS
$custom: #4e1717;
$custom-light: #845753;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1717",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 23
  },
  "hsl": {
    "h": 0,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29413,
    "c": 0.08317,
    "h": 23.7
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#4E1717
secondary
#3C8585
accent
#DEDE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1717

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

Preview Lab → · Contrast checker → · Palette generator →

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