#4F271B#4F271B

#4F271B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.4% C 0.064 H 37.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4F271B
RGBrgb(79, 39, 27)
HSLhsl(14, 49%, 21%)
HSVhsv(14, 66%, 31%)
CMYKcmyk(0%, 50.6%, 65.8%, 69%)
CIE-LABlab(20.80, 17.42, 16.21)
CIE-LCHlch(20.80, 23.79, 42.95°)
OKLaboklab(32.38% 0.0505 0.0387)
OKLCHoklch(32.38% 0.064 37.5)
XYZxyz(4.1481, 3.1929, 1.4345)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F271B #1B434F
analogous
#4F1B29 #4F271B #4F411B
triadic
#4F271B #1B4F27 #271B4F
tetradic
#4F271B #294F1B #1B434F #411B4F
square
#4F271B #294F1B #1B434F #411B4F
split-complementary
#4F271B #1B4F41 #1B294F
monochromatic
#170B08 #21100B #4F271B #7D3E2B #AA543A

Accessibility & contrast

On white

12.82
#4F271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F271B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F271B#FFFFFF#000000##FFFFFF
##4F271B1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1A
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#572024
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f271b;
/* rgb */ color: rgb(79, 39, 27);
/* oklch */ color: oklch(32.4% 0.064 37.5);
Tailwind
colors: {
  custom: {
    50: '#846257',
    500: '#4f271b',
    950: '#000000',
  },
}
SCSS
$custom: #4f271b;
$custom-light: #846257;
$custom-dark: #000000;
JSON
{
  "hex": "#4f271b",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 13.846,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3238,
    "c": 0.06362,
    "h": 37.5
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#4F271B
secondary
#417585
accent
#B9D94F
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4F271B

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

Preview Lab → · Contrast checker → · Palette generator →

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