#4E1217#4E1217

#4E1217 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.8% C 0.089 H 20.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#4E1217
RGBrgb(78, 18, 23)
HSLhsl(355, 63%, 19%)
HSVhsv(355, 77%, 31%)
CMYKcmyk(0%, 76.9%, 70.5%, 69.4%)
CIE-LABlab(16.08, 28.29, 12.96)
CIE-LCHlch(16.08, 31.12, 24.61°)
OKLaboklab(28.75% 0.0838 0.031)
OKLCHoklch(28.75% 0.089 20.3)
XYZxyz(3.5132, 2.1147, 1.0336)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1217 #124E49
analogous
#4E1235 #4E1217 #4E2B12
triadic
#4E1217 #174E12 #12174E
tetradic
#4E1217 #354E12 #124E49 #2B124E
square
#4E1217 #354E12 #124E49 #2B124E
split-complementary
#4E1217 #124E2B #12354E
monochromatic
#190607 #1C0708 #4E1217 #801D26 #B12934

Accessibility & contrast

On white

14.76
#4E1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1217
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1217#FFFFFF#000000##FFFFFF
##4E12171.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222017
Deuteranopia (green-blind)
#312D15
Tritanopia (blue-blind)
#560314
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e1217;
/* rgb */ color: rgb(78, 18, 23);
/* oklch */ color: oklch(28.8% 0.089 20.3);
Tailwind
colors: {
  custom: {
    50: '#855553',
    500: '#4e1217',
    950: '#000000',
  },
}
SCSS
$custom: #4e1217;
$custom-light: #855553;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1217",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 355,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28751,
    "c": 0.08931,
    "h": 20.3
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#4E1217
secondary
#358780
accent
#E6D842
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4E1217

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

Preview Lab → · Contrast checker → · Palette generator →

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