#4F180F#4F180F

#4F180F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.6% C 0.085 H 31.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4F180F
RGBrgb(79, 24, 15)
HSLhsl(8, 68%, 18%)
HSVhsv(8, 81%, 31%)
CMYKcmyk(0%, 69.6%, 81%, 69%)
CIE-LABlab(17.23, 25.27, 19.49)
CIE-LCHlch(17.23, 31.92, 37.64°)
OKLaboklab(29.61% 0.0722 0.0446)
OKLCHoklch(29.61% 0.085 31.7)
XYZxyz(3.6377, 2.3505, 0.7140)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F180F #0F464F
analogous
#4F0F26 #4F180F #4F380F
triadic
#4F180F #0F4F18 #180F4F
tetradic
#4F180F #264F0F #0F464F #380F4F
square
#4F180F #264F0F #0F464F #380F4F
split-complementary
#4F180F #0F4F38 #0F264F
monochromatic
#1A0805 #1C0805 #4F180F #822819 #B63723

Accessibility & contrast

On white

14.29
#4F180F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F180F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F180F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F180F#FFFFFF#000000##FFFFFF
##4F180F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#580A16
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f180f;
/* rgb */ color: rgb(79, 24, 15);
/* oklch */ color: oklch(29.6% 0.085 31.7);
Tailwind
colors: {
  custom: {
    50: '#86584e',
    500: '#4f180f',
    950: '#000000',
  },
}
SCSS
$custom: #4f180f;
$custom-light: #86584e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f180f",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 8.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29609,
    "c": 0.0849,
    "h": 31.7
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#4F180F
secondary
#317D89
accent
#D2EB3D
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4F180F

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

Preview Lab → · Contrast checker → · Palette generator →

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