#4E170E#4E170E

#4E170E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.3% C 0.085 H 31.7°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4E170E
RGBrgb(78, 23, 14)
HSLhsl(8, 70%, 18%)
HSVhsv(8, 82%, 31%)
CMYKcmyk(0%, 70.5%, 82.1%, 69.4%)
CIE-LABlab(16.82, 25.32, 19.46)
CIE-LCHlch(16.82, 31.94, 37.54°)
OKLaboklab(29.26% 0.0723 0.0447)
OKLCHoklch(29.26% 0.085 31.7)
XYZxyz(3.5279, 2.2647, 0.6667)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E170E #0E454E
analogous
#4E0E25 #4E170E #4E370E
triadic
#4E170E #0E4E17 #170E4E
tetradic
#4E170E #254E0E #0E454E #370E4E
square
#4E170E #254E0E #0E454E #370E4E
split-complementary
#4E170E #0E4E37 #0E254E
monochromatic
#1A0805 #1A0805 #4E170E #822617 #B63621

Accessibility & contrast

On white

14.45
#4E170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E170E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E170E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E170E#FFFFFF#000000##FFFFFF
##4E170E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#570915
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e170e;
/* rgb */ color: rgb(78, 23, 14);
/* oklch */ color: oklch(29.3% 0.085 31.7);
Tailwind
colors: {
  custom: {
    50: '#85574d',
    500: '#4e170e',
    950: '#000000',
  },
}
SCSS
$custom: #4e170e;
$custom-light: #85574d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e170e",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 8.438,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.085,
    "h": 31.7
  },
  "luminance": 0.02264
}

Semantic roles & 50–950 ramp

primary
#4E170E
secondary
#2F7C89
accent
#D3EC3B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4E170E

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

Preview Lab → · Contrast checker → · Palette generator →

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