#4F181E#4F181E

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

Color values

HEX#4F181E
RGBrgb(79, 24, 30)
HSLhsl(353, 53%, 20%)
HSVhsv(353, 70%, 31%)
CMYKcmyk(0%, 69.6%, 62%, 69%)
CIE-LABlab(17.51, 26.34, 9.89)
CIE-LCHlch(17.51, 28.13, 20.58°)
OKLaboklab(29.91% 0.0789 0.0245)
OKLCHoklch(29.91% 0.083 17.2)
XYZxyz(3.7858, 2.4098, 1.4938)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F181E #184F49
analogous
#4F1839 #4F181E #4F2E18
triadic
#4F181E #1E4F18 #181E4F
tetradic
#4F181E #394F18 #184F49 #2E184F
square
#4F181E #394F18 #184F49 #2E184F
split-complementary
#4F181E #184F2E #18394F
monochromatic
#170709 #200A0C #4F181E #7E2630 #AD3542

Accessibility & contrast

On white

14.17
#4F181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F181E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F181E#FFFFFF#000000##FFFFFF
##4F181E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#570E1A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f181e;
/* rgb */ color: rgb(79, 24, 30);
/* oklch */ color: oklch(29.9% 0.083 17.2);
Tailwind
colors: {
  custom: {
    50: '#845859',
    500: '#4f181e',
    950: '#000000',
  },
}
SCSS
$custom: #4f181e;
$custom-light: #845859;
$custom-dark: #000000;
JSON
{
  "hex": "#4f181e",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 353.455,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29906,
    "c": 0.08258,
    "h": 17.2
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#4F181E
secondary
#3D867E
accent
#DDCD4B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4F181E

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

Preview Lab → · Contrast checker → · Palette generator →

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