#4E181C#4E181C

#4E181C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.081 H 19.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4E181C
RGBrgb(78, 24, 28)
HSLhsl(356, 53%, 20%)
HSVhsv(356, 69%, 31%)
CMYKcmyk(0%, 69.2%, 64.1%, 69.4%)
CIE-LABlab(17.26, 25.76, 10.95)
CIE-LCHlch(17.26, 27.99, 23.02°)
OKLaboklab(29.67% 0.0768 0.0268)
OKLCHoklch(29.67% 0.081 19.2)
XYZxyz(3.6785, 2.3573, 1.3597)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E181C #184E4A
analogous
#4E1837 #4E181C #4E2F18
triadic
#4E181C #1C4E18 #181C4E
tetradic
#4E181C #374E18 #184E4A #2F184E
square
#4E181C #374E18 #184E4A #2F184E
split-complementary
#4E181C #184E2F #18374E
monochromatic
#170708 #1F0A0B #4E181C #7D262D #AC353E

Accessibility & contrast

On white

14.27
#4E181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E181C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E181C#FFFFFF#000000##FFFFFF
##4E181C1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231C
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#560E1A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e181c;
/* rgb */ color: rgb(78, 24, 28);
/* oklch */ color: oklch(29.7% 0.081 19.2);
Tailwind
colors: {
  custom: {
    50: '#845857',
    500: '#4e181c',
    950: '#000000',
  },
}
SCSS
$custom: #4e181c;
$custom-light: #845857;
$custom-dark: #000000;
JSON
{
  "hex": "#4e181c",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 355.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29669,
    "c": 0.08136,
    "h": 19.2
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#4E181C
secondary
#3D857F
accent
#DCD24B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4E181C

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

Preview Lab → · Contrast checker → · Palette generator →

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