#4F0C12#4F0C12

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

Color values

HEX#4F0C12
RGBrgb(79, 12, 18)
HSLhsl(355, 74%, 18%)
HSVhsv(355, 85%, 31%)
CMYKcmyk(0%, 84.8%, 77.2%, 69%)
CIE-LABlab(15.33, 30.77, 15.41)
CIE-LCHlch(15.33, 34.42, 26.60°)
OKLaboklab(28.2% 0.0903 0.0361)
OKLCHoklch(28.2% 0.097 21.8)
XYZxyz(3.4655, 1.9694, 0.7698)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C12 #0C4F49
analogous
#4F0C33 #4F0C12 #4F270C
triadic
#4F0C12 #124F0C #0C124F
tetradic
#4F0C12 #334F0C #0C4F49 #270C4F
square
#4F0C12 #334F0C #0C4F49 #270C4F
split-complementary
#4F0C12 #0C4F27 #0C334F
monochromatic
#1B0406 #1B0406 #4F0C12 #84141E #B91C2A

Accessibility & contrast

On white

15.07
#4F0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C12
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C12#FFFFFF#000000##FFFFFF
##4F0C121.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0c12;
/* rgb */ color: rgb(79, 12, 18);
/* oklch */ color: oklch(28.2% 0.097 21.8);
Tailwind
colors: {
  custom: {
    50: '#86524f',
    500: '#4f0c12',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c12;
$custom-light: #86524f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c12",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 354.627,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28201,
    "c": 0.09725,
    "h": 21.8
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#4F0C12
secondary
#2C8B82
accent
#F0E038
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4F0C12

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

Preview Lab → · Contrast checker → · Palette generator →

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