#3F170C#3F170C

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

Color values

HEX#3F170C
RGBrgb(63, 23, 12)
HSLhsl(13, 68%, 15%)
HSVhsv(13, 81%, 25%)
CMYKcmyk(0%, 63.5%, 81%, 75.3%)
CIE-LABlab(13.81, 18.68, 15.97)
CIE-LCHlch(13.81, 24.58, 40.53°)
OKLaboklab(26.4% 0.0531 0.039)
OKLCHoklch(26.4% 0.066 36.3)
XYZxyz(2.4229, 1.6964, 0.5476)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F170C #0C343F
analogous
#3F0C1B #3F170C #3F310C
triadic
#3F170C #0C3F17 #170C3F
tetradic
#3F170C #1B3F0C #0C343F #310C3F
square
#3F170C #1B3F0C #0C343F #310C3F
split-complementary
#3F170C #0C3F31 #0C1B3F
monochromatic
#1A0905 #1A0905 #3F170C #722A16 #A63D20

Accessibility & contrast

On white

15.68
#3F170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F170C
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F170C#FFFFFF#000000##FFFFFF
##3F170C1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0B
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#460F15
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f170c;
/* rgb */ color: rgb(63, 23, 12);
/* oklch */ color: oklch(26.4% 0.066 36.3);
Tailwind
colors: {
  custom: {
    50: '#78554c',
    500: '#3f170c',
    950: '#000000',
  },
}
SCSS
$custom: #3f170c;
$custom-light: #78554c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f170c",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 12.941,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.06587,
    "h": 36.3
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#3F170C
secondary
#2C6A7B
accent
#C5EB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3F170C

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

Preview Lab → · Contrast checker → · Palette generator →

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