#4F0F1F#4F0F1F

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

Color values

HEX#4F0F1F
RGBrgb(79, 15, 31)
HSLhsl(345, 68%, 18%)
HSVhsv(345, 81%, 31%)
CMYKcmyk(0%, 81%, 60.8%, 69%)
CIE-LABlab(16.02, 30.56, 7.16)
CIE-LCHlch(16.02, 31.39, 13.18°)
OKLaboklab(28.81% 0.0925 0.018)
OKLCHoklch(28.81% 0.094 11)
XYZxyz(3.6429, 2.1034, 1.5102)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F1F #0F4F3F
analogous
#4F0F3F #4F0F1F #4F1F0F
triadic
#4F0F1F #1F4F0F #0F1F4F
tetradic
#4F0F1F #3F4F0F #0F4F3F #1F0F4F
square
#4F0F1F #3F4F0F #0F4F3F #1F0F4F
split-complementary
#4F0F1F #0F4F1F #0F3F4F
monochromatic
#1A050A #1C050B #4F0F1F #821933 #B62347

Accessibility & contrast

On white

14.78
#4F0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F0F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F1F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F1F#FFFFFF#000000##FFFFFF
##4F0F1F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1F
Deuteranopia (green-blind)
#302D1D
Tritanopia (blue-blind)
#570116
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0f1f;
/* rgb */ color: rgb(79, 15, 31);
/* oklch */ color: oklch(28.8% 0.094 11.0);
Tailwind
colors: {
  custom: {
    50: '#85545a',
    500: '#4f0f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f1f;
$custom-light: #85545a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f1f",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 345,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28808,
    "c": 0.09428,
    "h": 11
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#4F0F1F
secondary
#318973
accent
#EBBF3D
background
#F8F5F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F0F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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