#3F040D#3F040D

#3F040D is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.8% C 0.088 H 19.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#3F040D
RGBrgb(63, 4, 13)
HSLhsl(351, 88%, 13%)
HSVhsv(351, 94%, 25%)
CMYKcmyk(0%, 93.7%, 79.4%, 75.3%)
CIE-LABlab(10.36, 28.15, 10.80)
CIE-LCHlch(10.36, 30.16, 21.00°)
OKLaboklab(23.82% 0.0832 0.0287)
OKLCHoklch(23.82% 0.088 19)
XYZxyz(2.1662, 1.1730, 0.4930)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F040D #043F36
analogous
#3F042A #3F040D #3F1804
triadic
#3F040D #0D3F04 #040D3F
tetradic
#3F040D #2A3F04 #043F36 #18043F
square
#3F040D #2A3F04 #043F36 #18043F
split-complementary
#3F040D #043F18 #042A3F
monochromatic
#1D0206 #1D0206 #3F040D #790819 #B20B25

Accessibility & contrast

On white

17.01
#3F040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#3F040D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F040D
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F040D#FFFFFF#000000##FFFFFF
##3F040D1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140D
Deuteranopia (green-blind)
#25210B
Tritanopia (blue-blind)
#460008
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3f040d;
/* rgb */ color: rgb(63, 4, 13);
/* oklch */ color: oklch(23.8% 0.088 19.0);
Tailwind
colors: {
  custom: {
    50: '#794b4c',
    500: '#3f040d',
    950: '#000000',
  },
}
SCSS
$custom: #3f040d;
$custom-light: #794b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f040d",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 350.847,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23823,
    "c": 0.08804,
    "h": 19
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#3F040D
secondary
#1E8071
accent
#FEDE2A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #3F040D

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

Preview Lab → · Contrast checker → · Palette generator →

#3F040D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva