#4F181B#4F181B

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

Color values

HEX#4F181B
RGBrgb(79, 24, 27)
HSLhsl(357, 53%, 20%)
HSVhsv(357, 70%, 31%)
CMYKcmyk(0%, 69.6%, 65.8%, 69%)
CIE-LABlab(17.44, 26.08, 11.92)
CIE-LCHlch(17.44, 28.67, 24.57°)
OKLaboklab(29.83% 0.0775 0.029)
OKLCHoklch(29.83% 0.083 20.5)
XYZxyz(3.7493, 2.3952, 1.3016)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F181B #184F4C
analogous
#4F1837 #4F181B #4F3018
triadic
#4F181B #1B4F18 #181B4F
tetradic
#4F181B #374F18 #184F4C #30184F
square
#4F181B #374F18 #184F4C #30184F
split-complementary
#4F181B #184F30 #18374F
monochromatic
#170708 #200A0B #4F181B #7E262B #AD353B

Accessibility & contrast

On white

14.20
#4F181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F181B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F181B#FFFFFF#000000##FFFFFF
##4F181B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#342F1A
Tritanopia (blue-blind)
#570D19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f181b;
/* rgb */ color: rgb(79, 24, 27);
/* oklch */ color: oklch(29.8% 0.083 20.5);
Tailwind
colors: {
  custom: {
    50: '#855857',
    500: '#4f181b',
    950: '#000000',
  },
}
SCSS
$custom: #4f181b;
$custom-light: #855857;
$custom-dark: #000000;
JSON
{
  "hex": "#4f181b",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 356.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29833,
    "c": 0.08272,
    "h": 20.5
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#4F181B
secondary
#3D8682
accent
#DDD54B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F181B

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

Preview Lab → · Contrast checker → · Palette generator →

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