#4C271B#4C271B

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

Color values

HEX#4C271B
RGBrgb(76, 39, 27)
HSLhsl(15, 48%, 20%)
HSVhsv(15, 64%, 30%)
CMYKcmyk(0%, 48.7%, 64.5%, 70.2%)
CIE-LABlab(20.31, 16.01, 15.49)
CIE-LCHlch(20.31, 22.28, 44.07°)
OKLaboklab(31.9% 0.0465 0.0372)
OKLCHoklch(31.9% 0.06 38.7)
XYZxyz(3.9041, 3.0671, 1.4231)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C271B #1B404C
analogous
#4C1B27 #4C271B #4C3F1B
triadic
#4C271B #1B4C27 #271B4C
tetradic
#4C271B #274C1B #1B404C #3F1B4C
square
#4C271B #274C1B #1B404C #3F1B4C
split-complementary
#4C271B #1B4C3F #1B274C
monochromatic
#170C08 #1F100B #4C271B #793E2B #A6553B

Accessibility & contrast

On white

13.02
#4C271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4C271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C271B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C271B#FFFFFF#000000##FFFFFF
##4C271B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1A
Deuteranopia (green-blind)
#39341A
Tritanopia (blue-blind)
#532124
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4c271b;
/* rgb */ color: rgb(76, 39, 27);
/* oklch */ color: oklch(31.9% 0.060 38.7);
Tailwind
colors: {
  custom: {
    50: '#816157',
    500: '#4c271b',
    950: '#000000',
  },
}
SCSS
$custom: #4c271b;
$custom-light: #816157;
$custom-dark: #000000;
JSON
{
  "hex": "#4c271b",
  "rgb": {
    "r": 76,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 14.694,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.05952,
    "h": 38.7
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#4C271B
secondary
#417282
accent
#B6D751
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4C271B

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

Preview Lab → · Contrast checker → · Palette generator →

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