#4C271F#4C271F

#4C271F is a dark, muted red. Relative luminance 0.031; OKLCH L 32.0% C 0.058 H 33.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#4C271F
RGBrgb(76, 39, 31)
HSLhsl(11, 42%, 21%)
HSVhsv(11, 59%, 30%)
CMYKcmyk(0%, 48.7%, 59.2%, 70.2%)
CIE-LABlab(20.39, 16.40, 12.91)
CIE-LCHlch(20.39, 20.87, 38.22°)
OKLaboklab(31.99% 0.0483 0.0316)
OKLCHoklch(31.99% 0.058 33.2)
XYZxyz(3.9536, 3.0869, 1.6837)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C271F #1F444C
analogous
#4C1F2D #4C271F #4C3D1F
triadic
#4C271F #1F4C27 #271F4C
tetradic
#4C271F #2D4C1F #1F444C #3D1F4C
square
#4C271F #2D4C1F #1F444C #3D1F4C
split-complementary
#4C271F #1F4C3D #1F2D4C
monochromatic
#160B09 #21110D #4C271F #773D31 #A35442

Accessibility & contrast

On white

12.99
#4C271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C271F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C271F#FFFFFF#000000##FFFFFF
##4C271F1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1E
Deuteranopia (green-blind)
#39341E
Tritanopia (blue-blind)
#532125
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c271f;
/* rgb */ color: rgb(76, 39, 31);
/* oklch */ color: oklch(32.0% 0.058 33.2);
Tailwind
colors: {
  custom: {
    50: '#81625a',
    500: '#4c271f',
    950: '#000000',
  },
}
SCSS
$custom: #4c271f;
$custom-light: #81625a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c271f",
  "rgb": {
    "r": 76,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 10.667,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.05777,
    "h": 33.2
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#4C271F
secondary
#467681
accent
#BCD256
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4C271F

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

Preview Lab → · Contrast checker → · Palette generator →

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