#4D271C#4D271C

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

Color values

HEX#4D271C
RGBrgb(77, 39, 28)
HSLhsl(13, 47%, 21%)
HSVhsv(13, 64%, 30%)
CMYKcmyk(0%, 49.4%, 63.6%, 69.8%)
CIE-LABlab(20.49, 16.57, 15.09)
CIE-LCHlch(20.49, 22.41, 42.33°)
OKLaboklab(32.08% 0.0483 0.0364)
OKLCHoklch(32.08% 0.06 37)
XYZxyz(3.9960, 3.1131, 1.4888)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D271C #1C424D
analogous
#4D1C29 #4D271C #4D3F1C
triadic
#4D271C #1C4D27 #271C4D
tetradic
#4D271C #294D1C #1C424D #3F1C4D
square
#4D271C #294D1C #1C424D #3F1C4D
split-complementary
#4D271C #1C4D3F #1C294D
monochromatic
#160B08 #20100C #4D271C #7A3E2C #A7543D

Accessibility & contrast

On white

12.94
#4D271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D271C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D271C#FFFFFF#000000##FFFFFF
##4D271C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1B
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#542024
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d271c;
/* rgb */ color: rgb(77, 39, 28);
/* oklch */ color: oklch(32.1% 0.060 37.0);
Tailwind
colors: {
  custom: {
    50: '#826258',
    500: '#4d271c',
    950: '#000000',
  },
}
SCSS
$custom: #4d271c;
$custom-light: #826258;
$custom-dark: #000000;
JSON
{
  "hex": "#4d271c",
  "rgb": {
    "r": 77,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 13.469,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.06043,
    "h": 37
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#4D271C
secondary
#427483
accent
#B8D651
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4D271C

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

Preview Lab → · Contrast checker → · Palette generator →

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