#4E271F#4E271F

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

Color values

HEX#4E271F
RGBrgb(78, 39, 31)
HSLhsl(10, 43%, 21%)
HSVhsv(10, 60%, 31%)
CMYKcmyk(0%, 50%, 60.3%, 69.4%)
CIE-LABlab(20.71, 17.32, 13.40)
CIE-LCHlch(20.71, 21.90, 37.71°)
OKLaboklab(32.3% 0.051 0.0327)
OKLCHoklch(32.3% 0.061 32.7)
XYZxyz(4.1150, 3.1701, 1.6912)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E271F #1F464E
analogous
#4E1F2F #4E271F #4E3F1F
triadic
#4E271F #1F4E27 #271F4E
tetradic
#4E271F #2F4E1F #1F464E #3F1F4E
square
#4E271F #2F4E1F #1F464E #3F1F4E
split-complementary
#4E271F #1F4E3F #1F2F4E
monochromatic
#160B09 #22110E #4E271F #7A3D30 #A65342

Accessibility & contrast

On white

12.85
#4E271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E271F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E271F#FFFFFF#000000##FFFFFF
##4E271F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#552125
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e271f;
/* rgb */ color: rgb(78, 39, 31);
/* oklch */ color: oklch(32.3% 0.061 32.7);
Tailwind
colors: {
  custom: {
    50: '#82625a',
    500: '#4e271f',
    950: '#000000',
  },
}
SCSS
$custom: #4e271f;
$custom-light: #82625a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e271f",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 10.213,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.06059,
    "h": 32.7
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#4E271F
secondary
#467883
accent
#BDD355
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4E271F

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

Preview Lab → · Contrast checker → · Palette generator →

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