#3F170B#3F170B

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

Color values

HEX#3F170B
RGBrgb(63, 23, 11)
HSLhsl(14, 70%, 15%)
HSVhsv(14, 83%, 25%)
CMYKcmyk(0%, 63.5%, 82.5%, 75.3%)
CIE-LABlab(13.79, 18.62, 16.39)
CIE-LCHlch(13.79, 24.81, 41.36°)
OKLaboklab(26.39% 0.0527 0.0401)
OKLCHoklch(26.39% 0.066 37.3)
XYZxyz(2.4169, 1.6940, 0.5163)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F170B #0B333F
analogous
#3F0B19 #3F170B #3F310B
triadic
#3F170B #0B3F17 #170B3F
tetradic
#3F170B #193F0B #0B333F #310B3F
square
#3F170B #193F0B #0B333F #310B3F
split-complementary
#3F170B #0B3F31 #0B193F
monochromatic
#1A0A05 #1A0A05 #3F170B #732A14 #A73D1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F170B#FFFFFF#000000##FFFFFF
##3F170B1.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)
#221E0A
Deuteranopia (green-blind)
#2C270A
Tritanopia (blue-blind)
#460E14
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f170b;
/* rgb */ color: rgb(63, 23, 11);
/* oklch */ color: oklch(26.4% 0.066 37.3);
Tailwind
colors: {
  custom: {
    50: '#78554b',
    500: '#3f170b',
    950: '#000000',
  },
}
SCSS
$custom: #3f170b;
$custom-light: #78554b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f170b",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 13.846,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26386,
    "c": 0.06623,
    "h": 37.3
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#3F170B
secondary
#2A697C
accent
#C4ED3B
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3F170B

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

Preview Lab → · Contrast checker → · Palette generator →

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