#3F040E#3F040E

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

Color values

HEX#3F040E
RGBrgb(63, 4, 14)
HSLhsl(350, 88%, 13%)
HSVhsv(350, 94%, 25%)
CMYKcmyk(0%, 93.7%, 77.8%, 75.3%)
CIE-LABlab(10.38, 28.21, 10.34)
CIE-LCHlch(10.38, 30.05, 20.13°)
OKLaboklab(23.84% 0.0837 0.0273)
OKLCHoklch(23.84% 0.088 18.1)
XYZxyz(2.1728, 1.1756, 0.5279)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F040E #043F35
analogous
#3F042B #3F040E #3F1704
triadic
#3F040E #0E3F04 #040E3F
tetradic
#3F040E #2B3F04 #043F35 #17043F
square
#3F040E #2B3F04 #043F35 #17043F
split-complementary
#3F040E #043F17 #042B3F
monochromatic
#1D0206 #1D0206 #3F040E #79081B #B20B28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F040E#FFFFFF#000000##FFFFFF
##3F040E1.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f040e;
/* rgb */ color: rgb(63, 4, 14);
/* oklch */ color: oklch(23.8% 0.088 18.1);
Tailwind
colors: {
  custom: {
    50: '#794b4d',
    500: '#3f040e',
    950: '#000000',
  },
}
SCSS
$custom: #3f040e;
$custom-light: #794b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f040e",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 349.831,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23844,
    "c": 0.08801,
    "h": 18.1
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#3F040E
secondary
#1E8070
accent
#FEDA2A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #3F040E

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

Preview Lab → · Contrast checker → · Palette generator →

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