#4F1818#4F1818

#4F1818 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.083 H 23.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4F1818
RGBrgb(79, 24, 24)
HSLhsl(0, 53%, 20%)
HSVhsv(0, 70%, 31%)
CMYKcmyk(0%, 69.6%, 69.6%, 69%)
CIE-LABlab(17.38, 25.84, 13.94)
CIE-LCHlch(17.38, 29.36, 28.35°)
OKLaboklab(29.77% 0.0761 0.0333)
OKLCHoklch(29.77% 0.083 23.6)
XYZxyz(3.7163, 2.3820, 1.1281)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1818 #184F4F
analogous
#4F1833 #4F1818 #4F3318
triadic
#4F1818 #184F18 #18184F
tetradic
#4F1818 #334F18 #184F4F #33184F
square
#4F1818 #334F18 #184F4F #33184F
split-complementary
#4F1818 #184F33 #18334F
monochromatic
#170707 #200A0A #4F1818 #7E2626 #AD3535

Accessibility & contrast

On white

14.23
#4F1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1818
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1818#FFFFFF#000000##FFFFFF
##4F18181.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#342F17
Tritanopia (blue-blind)
#570C19
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1818;
/* rgb */ color: rgb(79, 24, 24);
/* oklch */ color: oklch(29.8% 0.083 23.6);
Tailwind
colors: {
  custom: {
    50: '#855854',
    500: '#4f1818',
    950: '#000000',
  },
}
SCSS
$custom: #4f1818;
$custom-light: #855854;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1818",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29767,
    "c": 0.08306,
    "h": 23.6
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#4F1818
secondary
#3D8686
accent
#DDDD4B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4F1818

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

Preview Lab → · Contrast checker → · Palette generator →

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