#4E1017#4E1017

#4E1017 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.5% C 0.092 H 19.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#4E1017
RGBrgb(78, 16, 23)
HSLhsl(353, 66%, 18%)
HSVhsv(353, 79%, 31%)
CMYKcmyk(0%, 79.5%, 70.5%, 69.4%)
CIE-LABlab(15.76, 29.16, 12.55)
CIE-LCHlch(15.76, 31.75, 23.29°)
OKLaboklab(28.52% 0.0866 0.03)
OKLCHoklch(28.52% 0.092 19.1)
XYZxyz(3.4822, 2.0527, 1.0233)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1017 #104E47
analogous
#4E1036 #4E1017 #4E2810
triadic
#4E1017 #174E10 #10174E
tetradic
#4E1017 #364E10 #104E47 #28104E
square
#4E1017 #364E10 #104E47 #28104E
split-complementary
#4E1017 #104E28 #10364E
monochromatic
#190507 #1B0608 #4E1017 #811A26 #B42535

Accessibility & contrast

On white

14.89
#4E1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4E1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1017
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1017#FFFFFF#000000##FFFFFF
##4E10171.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#560013
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e1017;
/* rgb */ color: rgb(78, 16, 23);
/* oklch */ color: oklch(28.5% 0.092 19.1);
Tailwind
colors: {
  custom: {
    50: '#855453',
    500: '#4e1017',
    950: '#000000',
  },
}
SCSS
$custom: #4e1017;
$custom-light: #855453;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1017",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 353.226,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28515,
    "c": 0.09162,
    "h": 19.1
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#4E1017
secondary
#32887E
accent
#E9D63F
background
#F8F5F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1017

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

Preview Lab → · Contrast checker → · Palette generator →

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