#3F040A#3F040A

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

Color values

HEX#3F040A
RGBrgb(63, 4, 10)
HSLhsl(354, 88%, 13%)
HSVhsv(354, 94%, 25%)
CMYKcmyk(0%, 93.7%, 84.1%, 75.3%)
CIE-LABlab(10.30, 27.99, 12.06)
CIE-LCHlch(10.30, 30.48, 23.30°)
OKLaboklab(23.77% 0.0819 0.0328)
OKLCHoklch(23.77% 0.088 21.8)
XYZxyz(2.1484, 1.1659, 0.3990)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F040A #043F39
analogous
#3F0427 #3F040A #3F1B04
triadic
#3F040A #0A3F04 #040A3F
tetradic
#3F040A #273F04 #043F39 #1B043F
square
#3F040A #273F04 #043F39 #1B043F
split-complementary
#3F040A #043F1B #04273F
monochromatic
#1D0205 #1D0205 #3F040A #790813 #B20B1C

Accessibility & contrast

On white

17.03
#3F040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F040A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F040A#FFFFFF#000000##FFFFFF
##3F040A1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f040a;
/* rgb */ color: rgb(63, 4, 10);
/* oklch */ color: oklch(23.8% 0.088 21.8);
Tailwind
colors: {
  custom: {
    50: '#794b4b',
    500: '#3f040a',
    950: '#000000',
  },
}
SCSS
$custom: #3f040a;
$custom-light: #794b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f040a",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 353.898,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23766,
    "c": 0.0882,
    "h": 21.8
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#3F040A
secondary
#1E8076
accent
#FEE92A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #3F040A

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

Preview Lab → · Contrast checker → · Palette generator →

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