#4F0F18#4F0F18

#4F0F18 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.6% C 0.094 H 17.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#4F0F18
RGBrgb(79, 15, 24)
HSLhsl(352, 68%, 18%)
HSVhsv(352, 81%, 31%)
CMYKcmyk(0%, 81%, 69.6%, 69%)
CIE-LABlab(15.85, 30.00, 12.00)
CIE-LCHlch(15.85, 32.31, 21.80°)
OKLaboklab(28.63% 0.0893 0.0289)
OKLCHoklch(28.63% 0.094 17.9)
XYZxyz(3.5605, 2.0704, 1.0761)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F18 #0F4F46
analogous
#4F0F38 #4F0F18 #4F260F
triadic
#4F0F18 #184F0F #0F184F
tetradic
#4F0F18 #384F0F #0F4F46 #260F4F
square
#4F0F18 #384F0F #0F4F46 #260F4F
split-complementary
#4F0F18 #0F4F26 #0F384F
monochromatic
#1A0508 #1C0508 #4F0F18 #821928 #B62337

Accessibility & contrast

On white

14.85
#4F0F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4F0F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F18
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F18#FFFFFF#000000##FFFFFF
##4F0F181.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F18
Deuteranopia (green-blind)
#312C16
Tritanopia (blue-blind)
#570013
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0f18;
/* rgb */ color: rgb(79, 15, 24);
/* oklch */ color: oklch(28.6% 0.094 17.9);
Tailwind
colors: {
  custom: {
    50: '#865354',
    500: '#4f0f18',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f18;
$custom-light: #865354;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f18",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 24
  },
  "hsl": {
    "h": 351.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.09387,
    "h": 17.9
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#4F0F18
secondary
#31897D
accent
#EBD23D
background
#F8F5F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F0F18

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

Preview Lab → · Contrast checker → · Palette generator →

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