#4F0F17#4F0F17

#4F0F17 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.6% C 0.094 H 18.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4F0F17
RGBrgb(79, 15, 23)
HSLhsl(353, 68%, 18%)
HSVhsv(353, 81%, 31%)
CMYKcmyk(0%, 81%, 70.9%, 69%)
CIE-LABlab(15.83, 29.94, 12.69)
CIE-LCHlch(15.83, 32.51, 22.97°)
OKLaboklab(28.61% 0.0889 0.0303)
OKLCHoklch(28.61% 0.094 18.8)
XYZxyz(3.5503, 2.0663, 1.0223)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F17 #0F4F47
analogous
#4F0F37 #4F0F17 #4F270F
triadic
#4F0F17 #174F0F #0F174F
tetradic
#4F0F17 #374F0F #0F4F47 #270F4F
square
#4F0F17 #374F0F #0F4F47 #270F4F
split-complementary
#4F0F17 #0F4F27 #0F374F
monochromatic
#1A0507 #1C0508 #4F0F17 #821926 #B62335

Accessibility & contrast

On white

14.86
#4F0F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F17
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F17#FFFFFF#000000##FFFFFF
##4F0F171.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#312C15
Tritanopia (blue-blind)
#570012
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0f17;
/* rgb */ color: rgb(79, 15, 23);
/* oklch */ color: oklch(28.6% 0.094 18.8);
Tailwind
colors: {
  custom: {
    50: '#865353',
    500: '#4f0f17',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f17;
$custom-light: #865353;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f17",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 23
  },
  "hsl": {
    "h": 352.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.0939,
    "h": 18.8
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#4F0F17
secondary
#31897E
accent
#EBD53D
background
#F8F4F4
surface
#F0E8E7
border
#CBC4C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F0F17

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

Preview Lab → · Contrast checker → · Palette generator →

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