#4D271E#4D271E

#4D271E is a dark, muted red. Relative luminance 0.031; OKLCH L 32.1% C 0.060 H 34.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#4D271E
RGBrgb(77, 39, 30)
HSLhsl(11, 44%, 21%)
HSVhsv(11, 61%, 30%)
CMYKcmyk(0%, 49.4%, 61%, 69.8%)
CIE-LABlab(20.53, 16.76, 13.80)
CIE-LCHlch(20.53, 21.71, 39.47°)
OKLaboklab(32.12% 0.0492 0.0336)
OKLCHoklch(32.12% 0.06 34.3)
XYZxyz(4.0207, 3.1230, 1.6191)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D271E #1E444D
analogous
#4D1E2C #4D271E #4D3E1E
triadic
#4D271E #1E4D27 #271E4D
tetradic
#4D271E #2C4D1E #1E444D #3E1E4D
square
#4D271E #2C4D1E #1E444D #3E1E4D
split-complementary
#4D271E #1E4D3E #1E2C4D
monochromatic
#160B09 #21110D #4D271E #793D2F #A55440

Accessibility & contrast

On white

12.93
#4D271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D271E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D271E#FFFFFF#000000##FFFFFF
##4D271E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1D
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#542125
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d271e;
/* rgb */ color: rgb(77, 39, 30);
/* oklch */ color: oklch(32.1% 0.060 34.3);
Tailwind
colors: {
  custom: {
    50: '#826259',
    500: '#4d271e',
    950: '#000000',
  },
}
SCSS
$custom: #4d271e;
$custom-light: #826259;
$custom-dark: #000000;
JSON
{
  "hex": "#4d271e",
  "rgb": {
    "r": 77,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 11.489,
    "s": 43.925,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32124,
    "c": 0.05957,
    "h": 34.3
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#4D271E
secondary
#457682
accent
#BBD454
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4D271E

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

Preview Lab → · Contrast checker → · Palette generator →

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