#4F0D17#4F0D17

#4F0D17 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.4% C 0.096 H 17.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#4F0D17
RGBrgb(79, 13, 23)
HSLhsl(351, 72%, 18%)
HSVhsv(351, 84%, 31%)
CMYKcmyk(0%, 83.5%, 70.9%, 69%)
CIE-LABlab(15.55, 30.71, 12.33)
CIE-LCHlch(15.55, 33.10, 21.88°)
OKLaboklab(28.4% 0.0914 0.0295)
OKLCHoklch(28.4% 0.096 17.9)
XYZxyz(3.5234, 2.0125, 1.0134)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D17 #0D4F45
analogous
#4F0D38 #4F0D17 #4F240D
triadic
#4F0D17 #174F0D #0D174F
tetradic
#4F0D17 #384F0D #0D4F45 #240D4F
square
#4F0D17 #384F0D #0D4F45 #240D4F
split-complementary
#4F0D17 #0D4F24 #0D384F
monochromatic
#1A0408 #1A0408 #4F0D17 #841626 #B81E36

Accessibility & contrast

On white

14.97
#4F0D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4F0D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D17
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D17#FFFFFF#000000##FFFFFF
##4F0D171.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#570011
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0d17;
/* rgb */ color: rgb(79, 13, 23);
/* oklch */ color: oklch(28.4% 0.096 17.9);
Tailwind
colors: {
  custom: {
    50: '#865353',
    500: '#4f0d17',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d17;
$custom-light: #865353;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d17",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 23
  },
  "hsl": {
    "h": 350.909,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.284,
    "c": 0.09601,
    "h": 17.9
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#4F0D17
secondary
#2E8A7C
accent
#EED339
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F0D17

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

Preview Lab → · Contrast checker → · Palette generator →

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