#3F170A#3F170A

#3F170A is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.4% C 0.067 H 38.3°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#3F170A
RGBrgb(63, 23, 10)
HSLhsl(15, 73%, 14%)
HSVhsv(15, 84%, 25%)
CMYKcmyk(0%, 63.5%, 84.1%, 75.3%)
CIE-LABlab(13.78, 18.56, 16.80)
CIE-LCHlch(13.78, 25.03, 42.14°)
OKLaboklab(26.37% 0.0523 0.0412)
OKLCHoklch(26.37% 0.067 38.3)
XYZxyz(2.4113, 1.6918, 0.4867)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F170A #0A323F
analogous
#3F0A18 #3F170A #3F320A
triadic
#3F170A #0A3F17 #170A3F
tetradic
#3F170A #183F0A #0A323F #320A3F
square
#3F170A #183F0A #0A323F #320A3F
split-complementary
#3F170A #0A3F32 #0A183F
monochromatic
#1A0A04 #1A0A04 #3F170A #742A12 #A93E1B

Accessibility & contrast

On white

15.69
#3F170A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F170A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F170A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F170A#FFFFFF#000000##FFFFFF
##3F170A1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E09
Deuteranopia (green-blind)
#2C2609
Tritanopia (blue-blind)
#460E14
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f170a;
/* rgb */ color: rgb(63, 23, 10);
/* oklch */ color: oklch(26.4% 0.067 38.3);
Tailwind
colors: {
  custom: {
    50: '#78554b',
    500: '#3f170a',
    950: '#000000',
  },
}
SCSS
$custom: #3f170a;
$custom-light: #78554b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f170a",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 10
  },
  "hsl": {
    "h": 14.717,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26372,
    "c": 0.0666,
    "h": 38.3
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#3F170A
secondary
#29687C
accent
#C2EF38
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3F170A

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

Preview Lab → · Contrast checker → · Palette generator →

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