#4F181F#4F181F

#4F181F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.083 H 16.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4F181F
RGBrgb(79, 24, 31)
HSLhsl(352, 53%, 20%)
HSVhsv(352, 70%, 31%)
CMYKcmyk(0%, 69.6%, 60.8%, 69%)
CIE-LABlab(17.53, 26.43, 9.21)
CIE-LCHlch(17.53, 27.98, 19.22°)
OKLaboklab(29.93% 0.0793 0.0229)
OKLCHoklch(29.93% 0.083 16.1)
XYZxyz(3.7987, 2.4150, 1.5622)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F181F #184F48
analogous
#4F183A #4F181F #4F2D18
triadic
#4F181F #1F4F18 #181F4F
tetradic
#4F181F #3A4F18 #184F48 #2D184F
square
#4F181F #3A4F18 #184F48 #2D184F
split-complementary
#4F181F #184F2D #183A4F
monochromatic
#170709 #200A0D #4F181F #7E2631 #AD3544

Accessibility & contrast

On white

14.16
#4F181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F181F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F181F#FFFFFF#000000##FFFFFF
##4F181F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#570E1B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f181f;
/* rgb */ color: rgb(79, 24, 31);
/* oklch */ color: oklch(29.9% 0.083 16.1);
Tailwind
colors: {
  custom: {
    50: '#84585a',
    500: '#4f181f',
    950: '#000000',
  },
}
SCSS
$custom: #4f181f;
$custom-light: #84585a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f181f",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 352.364,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29932,
    "c": 0.08259,
    "h": 16.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4F181F
secondary
#3D867D
accent
#DDCA4B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4F181F

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

Preview Lab → · Contrast checker → · Palette generator →

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