#3F040B#3F040B

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

Color values

HEX#3F040B
RGBrgb(63, 4, 11)
HSLhsl(353, 88%, 13%)
HSVhsv(353, 94%, 25%)
CMYKcmyk(0%, 93.7%, 82.5%, 75.3%)
CIE-LABlab(10.32, 28.05, 11.66)
CIE-LCHlch(10.32, 30.37, 22.58°)
OKLaboklab(23.78% 0.0823 0.0315)
OKLCHoklch(23.78% 0.088 20.9)
XYZxyz(2.1540, 1.1681, 0.4286)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F040B #043F38
analogous
#3F0428 #3F040B #3F1A04
triadic
#3F040B #0B3F04 #040B3F
tetradic
#3F040B #283F04 #043F38 #1A043F
square
#3F040B #283F04 #043F38 #1A043F
split-complementary
#3F040B #043F1A #04283F
monochromatic
#1D0205 #1D0205 #3F040B #790815 #B20B1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F040B#FFFFFF#000000##FFFFFF
##3F040B1.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)
#16140B
Deuteranopia (green-blind)
#252109
Tritanopia (blue-blind)
#460007
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3f040b;
/* rgb */ color: rgb(63, 4, 11);
/* oklch */ color: oklch(23.8% 0.088 20.9);
Tailwind
colors: {
  custom: {
    50: '#794b4b',
    500: '#3f040b',
    950: '#000000',
  },
}
SCSS
$custom: #3f040b;
$custom-light: #794b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f040b",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 352.881,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23784,
    "c": 0.08813,
    "h": 20.9
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#3F040B
secondary
#1E8075
accent
#FEE52A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #3F040B

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

Preview Lab → · Contrast checker → · Palette generator →

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