#4F0F12#4F0F12

#4F0F12 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.5% C 0.094 H 23.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4F0F12
RGBrgb(79, 15, 18)
HSLhsl(357, 68%, 18%)
HSVhsv(357, 81%, 31%)
CMYKcmyk(0%, 81%, 77.2%, 69%)
CIE-LABlab(15.74, 29.62, 15.94)
CIE-LCHlch(15.74, 33.64, 28.28°)
OKLaboklab(28.51% 0.0867 0.0372)
OKLCHoklch(28.51% 0.094 23.2)
XYZxyz(3.5048, 2.0481, 0.7829)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F12 #0F4F4C
analogous
#4F0F32 #4F0F12 #4F2C0F
triadic
#4F0F12 #124F0F #0F124F
tetradic
#4F0F12 #324F0F #0F4F4C #2C0F4F
square
#4F0F12 #324F0F #0F4F4C #2C0F4F
split-complementary
#4F0F12 #0F4F2C #0F324F
monochromatic
#1A0506 #1C0506 #4F0F12 #82191E #B62329

Accessibility & contrast

On white

14.90
#4F0F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F12
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F12#FFFFFF#000000##FFFFFF
##4F0F121.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E12
Deuteranopia (green-blind)
#322C10
Tritanopia (blue-blind)
#580011
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0f12;
/* rgb */ color: rgb(79, 15, 18);
/* oklch */ color: oklch(28.5% 0.094 23.2);
Tailwind
colors: {
  custom: {
    50: '#86534f',
    500: '#4f0f12',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f12;
$custom-light: #86534f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f12",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 18
  },
  "hsl": {
    "h": 357.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28507,
    "c": 0.09428,
    "h": 23.2
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#4F0F12
secondary
#318985
accent
#EBE33D
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F0F12

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

Preview Lab → · Contrast checker → · Palette generator →

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