#4E271B#4E271B

#4E271B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.2% C 0.062 H 37.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4E271B
RGBrgb(78, 39, 27)
HSLhsl(14, 49%, 21%)
HSVhsv(14, 65%, 31%)
CMYKcmyk(0%, 50%, 65.4%, 69.4%)
CIE-LABlab(20.64, 16.95, 15.97)
CIE-LCHlch(20.64, 23.29, 43.30°)
OKLaboklab(32.22% 0.0491 0.0382)
OKLCHoklch(32.22% 0.062 37.9)
XYZxyz(4.0655, 3.1503, 1.4307)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E271B #1B424E
analogous
#4E1B28 #4E271B #4E401B
triadic
#4E271B #1B4E27 #271B4E
tetradic
#4E271B #284E1B #1B424E #401B4E
square
#4E271B #284E1B #1B424E #401B4E
split-complementary
#4E271B #1B4E40 #1B284E
monochromatic
#170B08 #21100B #4E271B #7B3E2B #A9543A

Accessibility & contrast

On white

12.88
#4E271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E271B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E271B#FFFFFF#000000##FFFFFF
##4E271B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1A
Deuteranopia (green-blind)
#3A351A
Tritanopia (blue-blind)
#562024
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e271b;
/* rgb */ color: rgb(78, 39, 27);
/* oklch */ color: oklch(32.2% 0.062 37.9);
Tailwind
colors: {
  custom: {
    50: '#836257',
    500: '#4e271b',
    950: '#000000',
  },
}
SCSS
$custom: #4e271b;
$custom-light: #836257;
$custom-dark: #000000;
JSON
{
  "hex": "#4e271b",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 14.118,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32221,
    "c": 0.06225,
    "h": 37.9
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#4E271B
secondary
#417484
accent
#B8D850
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4E271B

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

Preview Lab → · Contrast checker → · Palette generator →

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