#4E271C#4E271C

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

Color values

HEX#4E271C
RGBrgb(78, 39, 28)
HSLhsl(13, 47%, 21%)
HSVhsv(13, 64%, 31%)
CMYKcmyk(0%, 50%, 64.1%, 69.4%)
CIE-LABlab(20.65, 17.04, 15.33)
CIE-LCHlch(20.65, 22.92, 41.98°)
OKLaboklab(32.24% 0.0496 0.0369)
OKLCHoklch(32.24% 0.062 36.6)
XYZxyz(4.0773, 3.1550, 1.4926)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E271C #1C434E
analogous
#4E1C2A #4E271C #4E401C
triadic
#4E271C #1C4E27 #271C4E
tetradic
#4E271C #2A4E1C #1C434E #401C4E
square
#4E271C #2A4E1C #1C434E #401C4E
split-complementary
#4E271C #1C4E40 #1C2A4E
monochromatic
#170B08 #21100C #4E271C #7B3E2C #A8543C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E271C#FFFFFF#000000##FFFFFF
##4E271C1.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)
#312D1B
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#562024
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e271c;
/* rgb */ color: rgb(78, 39, 28);
/* oklch */ color: oklch(32.2% 0.062 36.6);
Tailwind
colors: {
  custom: {
    50: '#836258',
    500: '#4e271c',
    950: '#000000',
  },
}
SCSS
$custom: #4e271c;
$custom-light: #836258;
$custom-dark: #000000;
JSON
{
  "hex": "#4e271c",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 13.2,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32241,
    "c": 0.06181,
    "h": 36.6
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#4E271C
secondary
#427584
accent
#B9D751
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4E271C

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

Preview Lab → · Contrast checker → · Palette generator →

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