#4F0C13#4F0C13

#4F0C13 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.2% C 0.097 H 20.9°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#4F0C13
RGBrgb(79, 12, 19)
HSLhsl(354, 74%, 18%)
HSVhsv(354, 85%, 31%)
CMYKcmyk(0%, 84.8%, 75.9%, 69%)
CIE-LABlab(15.34, 30.83, 14.81)
CIE-LCHlch(15.34, 34.20, 25.67°)
OKLaboklab(28.22% 0.0908 0.0347)
OKLCHoklch(28.22% 0.097 20.9)
XYZxyz(3.4739, 1.9728, 0.8138)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C13 #0C4F48
analogous
#4F0C34 #4F0C13 #4F260C
triadic
#4F0C13 #134F0C #0C134F
tetradic
#4F0C13 #344F0C #0C4F48 #260C4F
square
#4F0C13 #344F0C #0C4F48 #260C4F
split-complementary
#4F0C13 #0C4F26 #0C344F
monochromatic
#1B0406 #1B0406 #4F0C13 #841420 #B91C2D

Accessibility & contrast

On white

15.06
#4F0C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C13
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C13#FFFFFF#000000##FFFFFF
##4F0C131.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D13
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#58000F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4f0c13;
/* rgb */ color: rgb(79, 12, 19);
/* oklch */ color: oklch(28.2% 0.097 20.9);
Tailwind
colors: {
  custom: {
    50: '#865250',
    500: '#4f0c13',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c13;
$custom-light: #865250;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c13",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 19
  },
  "hsl": {
    "h": 353.731,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2822,
    "c": 0.09717,
    "h": 20.9
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#4F0C13
secondary
#2C8B81
accent
#F0DD38
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4F0C13

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

Preview Lab → · Contrast checker → · Palette generator →

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