#3F170D#3F170D

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

Color values

HEX#3F170D
RGBrgb(63, 23, 13)
HSLhsl(12, 66%, 15%)
HSVhsv(12, 79%, 25%)
CMYKcmyk(0%, 63.5%, 79.4%, 75.3%)
CIE-LABlab(13.82, 18.74, 15.52)
CIE-LCHlch(13.82, 24.34, 39.63°)
OKLaboklab(26.42% 0.0535 0.0378)
OKLCHoklch(26.42% 0.066 35.2)
XYZxyz(2.4292, 1.6989, 0.5807)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F170D #0D353F
analogous
#3F0D1C #3F170D #3F300D
triadic
#3F170D #0D3F17 #170D3F
tetradic
#3F170D #1C3F0D #0D353F #300D3F
square
#3F170D #1C3F0D #0D353F #300D3F
split-complementary
#3F170D #0D3F30 #0D1C3F
monochromatic
#190905 #190905 #3F170D #722A17 #A43C22

Accessibility & contrast

On white

15.67
#3F170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F170D
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F170D#FFFFFF#000000##FFFFFF
##3F170D1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f170d;
/* rgb */ color: rgb(63, 23, 13);
/* oklch */ color: oklch(26.4% 0.066 35.2);
Tailwind
colors: {
  custom: {
    50: '#78554c',
    500: '#3f170d',
    950: '#000000',
  },
}
SCSS
$custom: #3f170d;
$custom-light: #78554c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f170d",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 12,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26417,
    "c": 0.06552,
    "h": 35.2
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#3F170D
secondary
#2D6B7B
accent
#C7E93F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3F170D

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

Preview Lab → · Contrast checker → · Palette generator →

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