#4D271F#4D271F

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

Color values

HEX#4D271F
RGBrgb(77, 39, 31)
HSLhsl(10, 43%, 21%)
HSVhsv(10, 60%, 30%)
CMYKcmyk(0%, 49.4%, 59.7%, 69.8%)
CIE-LABlab(20.55, 16.86, 13.15)
CIE-LCHlch(20.55, 21.39, 37.96°)
OKLaboklab(32.15% 0.0497 0.0322)
OKLCHoklch(32.15% 0.059 32.9)
XYZxyz(4.0337, 3.1282, 1.6874)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D271F #1F454D
analogous
#4D1F2E #4D271F #4D3E1F
triadic
#4D271F #1F4D27 #271F4D
tetradic
#4D271F #2E4D1F #1F454D #3E1F4D
square
#4D271F #2E4D1F #1F454D #3E1F4D
split-complementary
#4D271F #1F4D3E #1F2E4D
monochromatic
#160B09 #21110D #4D271F #793D31 #A45342

Accessibility & contrast

On white

12.92
#4D271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D271F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D271F#FFFFFF#000000##FFFFFF
##4D271F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#39351E
Tritanopia (blue-blind)
#542125
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d271f;
/* rgb */ color: rgb(77, 39, 31);
/* oklch */ color: oklch(32.1% 0.059 32.9);
Tailwind
colors: {
  custom: {
    50: '#82625a',
    500: '#4d271f',
    950: '#000000',
  },
}
SCSS
$custom: #4d271f;
$custom-light: #82625a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d271f",
  "rgb": {
    "r": 77,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 10.435,
    "s": 42.593,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.05918,
    "h": 32.9
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#4D271F
secondary
#467782
accent
#BDD255
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4D271F

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

Preview Lab → · Contrast checker → · Palette generator →

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