#4F271F#4F271F

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

Color values

HEX#4F271F
RGBrgb(79, 39, 31)
HSLhsl(10, 44%, 22%)
HSVhsv(10, 61%, 31%)
CMYKcmyk(0%, 50.6%, 60.8%, 69%)
CIE-LABlab(20.88, 17.79, 13.64)
CIE-LCHlch(20.88, 22.41, 37.49°)
OKLaboklab(32.46% 0.0523 0.0333)
OKLCHoklch(32.46% 0.062 32.4)
XYZxyz(4.1976, 3.2127, 1.6951)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F271F #1F474F
analogous
#4F1F2F #4F271F #4F3F1F
triadic
#4F271F #1F4F27 #271F4F
tetradic
#4F271F #2F4F1F #1F474F #3F1F4F
square
#4F271F #2F4F1F #1F474F #3F1F4F
split-complementary
#4F271F #1F4F3F #1F2F4F
monochromatic
#160B09 #23110E #4F271F #7B3D30 #A75241

Accessibility & contrast

On white

12.79
#4F271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F271F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F271F#FFFFFF#000000##FFFFFF
##4F271F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#3B351E
Tritanopia (blue-blind)
#562025
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f271f;
/* rgb */ color: rgb(79, 39, 31);
/* oklch */ color: oklch(32.5% 0.062 32.4);
Tailwind
colors: {
  custom: {
    50: '#83625a',
    500: '#4f271f',
    950: '#000000',
  },
}
SCSS
$custom: #4f271f;
$custom-light: #83625a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f271f",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 10,
    "s": 43.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32463,
    "c": 0.062,
    "h": 32.4
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#4F271F
secondary
#467984
accent
#BED354
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4F271F

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

Preview Lab → · Contrast checker → · Palette generator →

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