#3F040F#3F040F

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

Color values

HEX#3F040F
RGBrgb(63, 4, 15)
HSLhsl(349, 88%, 13%)
HSVhsv(349, 94%, 25%)
CMYKcmyk(0%, 93.7%, 76.2%, 75.3%)
CIE-LABlab(10.40, 28.28, 9.85)
CIE-LCHlch(10.40, 29.94, 19.21°)
OKLaboklab(23.87% 0.0842 0.0258)
OKLCHoklch(23.87% 0.088 17)
XYZxyz(2.1798, 1.1784, 0.5645)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F040F #043F34
analogous
#3F042C #3F040F #3F1604
triadic
#3F040F #0F3F04 #040F3F
tetradic
#3F040F #2C3F04 #043F34 #16043F
square
#3F040F #2C3F04 #043F34 #16043F
split-complementary
#3F040F #043F16 #042C3F
monochromatic
#1D0207 #1D0207 #3F040F #79081D #B20B2A

Accessibility & contrast

On white

17.00
#3F040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3F040F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F040F
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F040F#FFFFFF#000000##FFFFFF
##3F040F1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f040f;
/* rgb */ color: rgb(63, 4, 15);
/* oklch */ color: oklch(23.9% 0.088 17.0);
Tailwind
colors: {
  custom: {
    50: '#794b4d',
    500: '#3f040f',
    950: '#000000',
  },
}
SCSS
$custom: #3f040f;
$custom-light: #794b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f040f",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 348.814,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23866,
    "c": 0.08802,
    "h": 17
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#3F040F
secondary
#1E806E
accent
#FED72A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #3F040F

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

Preview Lab → · Contrast checker → · Palette generator →

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