#4F150C#4F150C

#4F150C is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.089 H 31.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#4F150C
RGBrgb(79, 21, 12)
HSLhsl(8, 74%, 18%)
HSVhsv(8, 85%, 31%)
CMYKcmyk(0%, 73.4%, 84.8%, 69%)
CIE-LABlab(16.63, 26.64, 20.23)
CIE-LCHlch(16.63, 33.45, 37.22°)
OKLaboklab(29.15% 0.0758 0.0465)
OKLCHoklch(29.15% 0.089 31.5)
XYZxyz(3.5594, 2.2257, 0.5899)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F150C #0C464F
analogous
#4F0C24 #4F150C #4F360C
triadic
#4F150C #0C4F15 #150C4F
tetradic
#4F150C #244F0C #0C464F #360C4F
square
#4F150C #244F0C #0C464F #360C4F
split-complementary
#4F150C #0C4F36 #0C244F
monochromatic
#1B0704 #1B0704 #4F150C #842314 #B9311C

Accessibility & contrast

On white

14.53
#4F150C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4F150C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F150C
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F150C#FFFFFF#000000##FFFFFF
##4F150C1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210B
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#580513
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f150c;
/* rgb */ color: rgb(79, 21, 12);
/* oklch */ color: oklch(29.1% 0.089 31.5);
Tailwind
colors: {
  custom: {
    50: '#86564c',
    500: '#4f150c',
    950: '#000000',
  },
}
SCSS
$custom: #4f150c;
$custom-light: #86564c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f150c",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 12
  },
  "hsl": {
    "h": 8.06,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29146,
    "c": 0.08893,
    "h": 31.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#4F150C
secondary
#2C7E8B
accent
#D7F038
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F150C

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

Preview Lab → · Contrast checker → · Palette generator →

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