#4F0C0F#4F0C0F

#4F0C0F is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.098 H 24.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#4F0C0F
RGBrgb(79, 12, 15)
HSLhsl(357, 74%, 18%)
HSVhsv(357, 85%, 31%)
CMYKcmyk(0%, 84.8%, 81%, 69%)
CIE-LABlab(15.28, 30.62, 17.06)
CIE-LCHlch(15.28, 35.05, 29.13°)
OKLaboklab(28.15% 0.089 0.0398)
OKLCHoklch(28.15% 0.098 24.1)
XYZxyz(3.4425, 1.9602, 0.6489)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C0F #0C4F4C
analogous
#4F0C31 #4F0C0F #4F2A0C
triadic
#4F0C0F #0F4F0C #0C0F4F
tetradic
#4F0C0F #314F0C #0C4F4C #2A0C4F
square
#4F0C0F #314F0C #0C4F4C #2A0C4F
split-complementary
#4F0C0F #0C4F2A #0C314F
monochromatic
#1B0405 #1B0405 #4F0C0F #841419 #B91C23

Accessibility & contrast

On white

15.09
#4F0C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4F0C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C0F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C0F#FFFFFF#000000##FFFFFF
##4F0C0F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D0E
Deuteranopia (green-blind)
#312B0D
Tritanopia (blue-blind)
#58000E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4f0c0f;
/* rgb */ color: rgb(79, 12, 15);
/* oklch */ color: oklch(28.1% 0.098 24.1);
Tailwind
colors: {
  custom: {
    50: '#87524d',
    500: '#4f0c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c0f;
$custom-light: #87524d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c0f",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 15
  },
  "hsl": {
    "h": 357.313,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.09755,
    "h": 24.1
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#4F0C0F
secondary
#2C8B86
accent
#F0E838
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0201
muted
#7D7877

Preview Lab

Preview with #4F0C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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