#4F271C#4F271C

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

Color values

HEX#4F271C
RGBrgb(79, 39, 28)
HSLhsl(13, 48%, 21%)
HSVhsv(13, 65%, 31%)
CMYKcmyk(0%, 50.6%, 64.6%, 69%)
CIE-LABlab(20.82, 17.50, 15.57)
CIE-LCHlch(20.82, 23.43, 41.66°)
OKLaboklab(32.4% 0.0509 0.0374)
OKLCHoklch(32.4% 0.063 36.3)
XYZxyz(4.1599, 3.1976, 1.4965)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F271C #1C444F
analogous
#4F1C2A #4F271C #4F401C
triadic
#4F271C #1C4F27 #271C4F
tetradic
#4F271C #2A4F1C #1C444F #401C4F
square
#4F271C #2A4F1C #1C444F #401C4F
split-complementary
#4F271C #1C4F40 #1C2A4F
monochromatic
#170B08 #22110C #4F271C #7C3D2C #A9543C

Accessibility & contrast

On white

12.81
#4F271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F271C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F271C#FFFFFF#000000##FFFFFF
##4F271C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f271c;
/* rgb */ color: rgb(79, 39, 28);
/* oklch */ color: oklch(32.4% 0.063 36.3);
Tailwind
colors: {
  custom: {
    50: '#836258',
    500: '#4f271c',
    950: '#000000',
  },
}
SCSS
$custom: #4f271c;
$custom-light: #836258;
$custom-dark: #000000;
JSON
{
  "hex": "#4f271c",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 12.941,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.324,
    "c": 0.06319,
    "h": 36.3
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#4F271C
secondary
#427685
accent
#BAD751
background
#F8F5F5
surface
#EFEAE9
border
#CAC6C5
text
#0B0503
muted
#7C7978

Preview Lab

Preview with #4F271C

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

Preview Lab → · Contrast checker → · Palette generator →

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