#4F0D1C#4F0D1C

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

Color values

HEX#4F0D1C
RGBrgb(79, 13, 28)
HSLhsl(346, 72%, 18%)
HSVhsv(346, 84%, 31%)
CMYKcmyk(0%, 83.5%, 64.6%, 69%)
CIE-LABlab(15.67, 31.08, 8.86)
CIE-LCHlch(15.67, 32.32, 15.90°)
OKLaboklab(28.52% 0.0937 0.0219)
OKLCHoklch(28.52% 0.096 13.2)
XYZxyz(3.5783, 2.0345, 1.3027)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D1C #0D4F40
analogous
#4F0D3D #4F0D1C #4F1F0D
triadic
#4F0D1C #1C4F0D #0D1C4F
tetradic
#4F0D1C #3D4F0D #0D4F40 #1F0D4F
square
#4F0D1C #3D4F0D #0D4F40 #1F0D4F
split-complementary
#4F0D1C #0D4F1F #0D3D4F
monochromatic
#1A0409 #1A0409 #4F0D1C #84162F #B81E41

Accessibility & contrast

On white

14.93
#4F0D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D1C
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D1C#FFFFFF#000000##FFFFFF
##4F0D1C1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1C
Deuteranopia (green-blind)
#302C1A
Tritanopia (blue-blind)
#570013
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0d1c;
/* rgb */ color: rgb(79, 13, 28);
/* oklch */ color: oklch(28.5% 0.096 13.2);
Tailwind
colors: {
  custom: {
    50: '#855357',
    500: '#4f0d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d1c;
$custom-light: #855357;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d1c",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 28
  },
  "hsl": {
    "h": 346.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28522,
    "c": 0.09619,
    "h": 13.2
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#4F0D1C
secondary
#2E8A75
accent
#EEC539
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F0D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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