#4F181C#4F181C

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

Color values

HEX#4F181C
RGBrgb(79, 24, 28)
HSLhsl(356, 53%, 20%)
HSVhsv(356, 70%, 31%)
CMYKcmyk(0%, 69.6%, 64.6%, 69%)
CIE-LABlab(17.46, 26.16, 11.24)
CIE-LCHlch(17.46, 28.47, 23.26°)
OKLaboklab(29.86% 0.0779 0.0275)
OKLCHoklch(29.86% 0.083 19.4)
XYZxyz(3.7610, 2.3999, 1.3636)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F181C #184F4B
analogous
#4F1838 #4F181C #4F2F18
triadic
#4F181C #1C4F18 #181C4F
tetradic
#4F181C #384F18 #184F4B #2F184F
square
#4F181C #384F18 #184F4B #2F184F
split-complementary
#4F181C #184F2F #18384F
monochromatic
#170708 #200A0B #4F181C #7E262D #AD353D

Accessibility & contrast

On white

14.19
#4F181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F181C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F181C#FFFFFF#000000##FFFFFF
##4F181C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241C
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#570D1A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f181c;
/* rgb */ color: rgb(79, 24, 28);
/* oklch */ color: oklch(29.9% 0.083 19.4);
Tailwind
colors: {
  custom: {
    50: '#855857',
    500: '#4f181c',
    950: '#000000',
  },
}
SCSS
$custom: #4f181c;
$custom-light: #855857;
$custom-dark: #000000;
JSON
{
  "hex": "#4f181c",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 355.636,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29856,
    "c": 0.08265,
    "h": 19.4
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#4F181C
secondary
#3D8681
accent
#DDD24B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F181C

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

Preview Lab → · Contrast checker → · Palette generator →

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