#4F0C0D#4F0C0D

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

Color values

HEX#4F0C0D
RGBrgb(79, 12, 13)
HSLhsl(359, 74%, 18%)
HSVhsv(359, 85%, 31%)
CMYKcmyk(0%, 84.8%, 83.5%, 69%)
CIE-LABlab(15.25, 30.52, 18.03)
CIE-LCHlch(15.25, 35.45, 30.57°)
OKLaboklab(28.12% 0.0882 0.0422)
OKLCHoklch(28.12% 0.098 25.6)
XYZxyz(3.4290, 1.9548, 0.5775)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C0D #0C4F4E
analogous
#4F0C2F #4F0C0D #4F2C0C
triadic
#4F0C0D #0D4F0C #0C0D4F
tetradic
#4F0C0D #2F4F0C #0C4F4E #2C0C4F
square
#4F0C0D #2F4F0C #0C4F4E #2C0C4F
split-complementary
#4F0C0D #0C4F2C #0C2F4F
monochromatic
#1B0404 #1B0404 #4F0C0D #841416 #B91C1E

Accessibility & contrast

On white

15.10
#4F0C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C0D
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C0D#FFFFFF#000000##FFFFFF
##4F0C0D1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0C
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#58000D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4f0c0d;
/* rgb */ color: rgb(79, 12, 13);
/* oklch */ color: oklch(28.1% 0.098 25.6);
Tailwind
colors: {
  custom: {
    50: '#87524c',
    500: '#4f0c0d',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c0d;
$custom-light: #87524c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c0d",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 13
  },
  "hsl": {
    "h": 359.104,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28118,
    "c": 0.0978,
    "h": 25.6
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#4F0C0D
secondary
#2C8B89
accent
#F0EE38
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0201
muted
#7D7877

Preview Lab

Preview with #4F0C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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