#3F040C#3F040C

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

Color values

HEX#3F040C
RGBrgb(63, 4, 12)
HSLhsl(352, 88%, 13%)
HSVhsv(352, 94%, 25%)
CMYKcmyk(0%, 93.7%, 81%, 75.3%)
CIE-LABlab(10.34, 28.10, 11.24)
CIE-LCHlch(10.34, 30.26, 21.81°)
OKLaboklab(23.8% 0.0828 0.0301)
OKLCHoklch(23.8% 0.088 20)
XYZxyz(2.1599, 1.1705, 0.4600)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F040C #043F37
analogous
#3F0429 #3F040C #3F1904
triadic
#3F040C #0C3F04 #040C3F
tetradic
#3F040C #293F04 #043F37 #19043F
square
#3F040C #293F04 #043F37 #19043F
split-complementary
#3F040C #043F19 #04293F
monochromatic
#1D0205 #1D0205 #3F040C #790817 #B20B22

Accessibility & contrast

On white

17.02
#3F040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F040C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F040C#FFFFFF#000000##FFFFFF
##3F040C1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f040c;
/* rgb */ color: rgb(63, 4, 12);
/* oklch */ color: oklch(23.8% 0.088 20.0);
Tailwind
colors: {
  custom: {
    50: '#794b4c',
    500: '#3f040c',
    950: '#000000',
  },
}
SCSS
$custom: #3f040c;
$custom-light: #794b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f040c",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 351.864,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23803,
    "c": 0.08807,
    "h": 20
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#3F040C
secondary
#1E8073
accent
#FEE12A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #3F040C

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

Preview Lab → · Contrast checker → · Palette generator →

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