#4E271D#4E271D

#4E271D is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.3% C 0.061 H 35.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#4E271D
RGBrgb(78, 39, 29)
HSLhsl(12, 46%, 21%)
HSVhsv(12, 63%, 31%)
CMYKcmyk(0%, 50%, 62.8%, 69.4%)
CIE-LABlab(20.67, 17.13, 14.69)
CIE-LCHlch(20.67, 22.57, 40.61°)
OKLaboklab(32.26% 0.0501 0.0355)
OKLCHoklch(32.26% 0.061 35.3)
XYZxyz(4.0895, 3.1599, 1.5567)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E271D #1D444E
analogous
#4E1D2B #4E271D #4E3F1D
triadic
#4E271D #1D4E27 #271D4E
tetradic
#4E271D #2B4E1D #1D444E #3F1D4E
square
#4E271D #2B4E1D #1D444E #3F1D4E
split-complementary
#4E271D #1D4E3F #1D2B4E
monochromatic
#160B08 #21110C #4E271D #7B3D2E #A7543E

Accessibility & contrast

On white

12.87
#4E271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E271D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E271D#FFFFFF#000000##FFFFFF
##4E271D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#552025
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e271d;
/* rgb */ color: rgb(78, 39, 29);
/* oklch */ color: oklch(32.3% 0.061 35.3);
Tailwind
colors: {
  custom: {
    50: '#836259',
    500: '#4e271d',
    950: '#000000',
  },
}
SCSS
$custom: #4e271d;
$custom-light: #836259;
$custom-dark: #000000;
JSON
{
  "hex": "#4e271d",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 12.245,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32261,
    "c": 0.06138,
    "h": 35.3
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#4E271D
secondary
#447683
accent
#BBD552
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4E271D

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

Preview Lab → · Contrast checker → · Palette generator →

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