#4E1117#4E1117

#4E1117 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.6% C 0.090 H 19.7°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#4E1117
RGBrgb(78, 17, 23)
HSLhsl(354, 64%, 19%)
HSVhsv(354, 78%, 31%)
CMYKcmyk(0%, 78.2%, 70.5%, 69.4%)
CIE-LABlab(15.92, 28.73, 12.75)
CIE-LCHlch(15.92, 31.44, 23.94°)
OKLaboklab(28.63% 0.0852 0.0305)
OKLCHoklch(28.63% 0.09 19.7)
XYZxyz(3.4974, 2.0830, 1.0283)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1117 #114E48
analogous
#4E1135 #4E1117 #4E2911
triadic
#4E1117 #174E11 #11174E
tetradic
#4E1117 #354E11 #114E48 #29114E
square
#4E1117 #354E11 #114E48 #29114E
split-complementary
#4E1117 #114E29 #11354E
monochromatic
#190507 #1C0608 #4E1117 #801C26 #B22735

Accessibility & contrast

On white

14.83
#4E1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4E1117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1117
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1117#FFFFFF#000000##FFFFFF
##4E11171.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F17
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#560214
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e1117;
/* rgb */ color: rgb(78, 17, 23);
/* oklch */ color: oklch(28.6% 0.090 19.7);
Tailwind
colors: {
  custom: {
    50: '#855453',
    500: '#4e1117',
    950: '#000000',
  },
}
SCSS
$custom: #4e1117;
$custom-light: #855453;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1117",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 354.098,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.09048,
    "h": 19.7
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#4E1117
secondary
#33877F
accent
#E7D741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1117

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

Preview Lab → · Contrast checker → · Palette generator →

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