#4F0F1A#4F0F1A

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

Color values

HEX#4F0F1A
RGBrgb(79, 15, 26)
HSLhsl(350, 68%, 18%)
HSVhsv(350, 81%, 31%)
CMYKcmyk(0%, 81%, 67.1%, 69%)
CIE-LABlab(15.90, 30.15, 10.61)
CIE-LCHlch(15.90, 31.97, 19.39°)
OKLaboklab(28.68% 0.0903 0.0259)
OKLCHoklch(28.68% 0.094 16)
XYZxyz(3.5821, 2.0790, 1.1898)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F1A #0F4F44
analogous
#4F0F3A #4F0F1A #4F240F
triadic
#4F0F1A #1A4F0F #0F1A4F
tetradic
#4F0F1A #3A4F0F #0F4F44 #240F4F
square
#4F0F1A #3A4F0F #0F4F44 #240F4F
split-complementary
#4F0F1A #0F4F24 #0F3A4F
monochromatic
#1A0508 #1C0509 #4F0F1A #82192B #B6233C

Accessibility & contrast

On white

14.83
#4F0F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F0F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F1A
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F1A#FFFFFF#000000##FFFFFF
##4F0F1A1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1A
Deuteranopia (green-blind)
#312C18
Tritanopia (blue-blind)
#570014
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0f1a;
/* rgb */ color: rgb(79, 15, 26);
/* oklch */ color: oklch(28.7% 0.094 16.0);
Tailwind
colors: {
  custom: {
    50: '#855356',
    500: '#4f0f1a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f1a;
$custom-light: #855356;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f1a",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 26
  },
  "hsl": {
    "h": 349.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28676,
    "c": 0.09388,
    "h": 16
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#4F0F1A
secondary
#31897A
accent
#EBCD3D
background
#F8F5F5
surface
#F0E8E8
border
#CBC4C4
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F0F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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