#4E170A#4E170A

#4E170A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.2% C 0.086 H 34.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#4E170A
RGBrgb(78, 23, 10)
HSLhsl(11, 77%, 17%)
HSVhsv(11, 87%, 31%)
CMYKcmyk(0%, 70.5%, 87.2%, 69.4%)
CIE-LABlab(16.77, 25.14, 21.22)
CIE-LCHlch(16.77, 32.90, 40.17°)
OKLaboklab(29.21% 0.0708 0.0488)
OKLCHoklch(29.21% 0.086 34.5)
XYZxyz(3.5035, 2.2549, 0.5379)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E170A #0A414E
analogous
#4E0A1F #4E170A #4E390A
triadic
#4E170A #0A4E17 #170A4E
tetradic
#4E170A #1F4E0A #0A414E #390A4E
square
#4E170A #1F4E0A #0A414E #390A4E
split-complementary
#4E170A #0A4E39 #0A1F4E
monochromatic
#1B0803 #1B0803 #4E170A #842711 #BA3718

Accessibility & contrast

On white

14.47
#4E170A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E170A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E170A#FFFFFF#000000##FFFFFF
##4E170A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272208
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#570814
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e170a;
/* rgb */ color: rgb(78, 23, 10);
/* oklch */ color: oklch(29.2% 0.086 34.5);
Tailwind
colors: {
  custom: {
    50: '#85574b',
    500: '#4e170a',
    950: '#000000',
  },
}
SCSS
$custom: #4e170a;
$custom-light: #85574b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e170a",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 10
  },
  "hsl": {
    "h": 11.471,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29207,
    "c": 0.086,
    "h": 34.5
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#4E170A
secondary
#29788B
accent
#CFF434
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4E170A

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

Preview Lab → · Contrast checker → · Palette generator →

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