#3F170F#3F170F

#3F170F is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.5% C 0.065 H 33.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#3F170F
RGBrgb(63, 23, 15)
HSLhsl(10, 62%, 15%)
HSVhsv(10, 76%, 25%)
CMYKcmyk(0%, 63.5%, 76.2%, 75.3%)
CIE-LABlab(13.85, 18.88, 14.56)
CIE-LCHlch(13.85, 23.84, 37.63°)
OKLaboklab(26.45% 0.0544 0.0353)
OKLCHoklch(26.45% 0.065 33)
XYZxyz(2.4427, 1.7044, 0.6522)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F170F #0F373F
analogous
#3F0F1F #3F170F #3F2F0F
triadic
#3F170F #0F3F17 #170F3F
tetradic
#3F170F #1F3F0F #0F373F #2F0F3F
square
#3F170F #1F3F0F #0F373F #2F0F3F
split-complementary
#3F170F #0F3F2F #0F1F3F
monochromatic
#190906 #190906 #3F170F #70291B #A23B27

Accessibility & contrast

On white

15.66
#3F170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F170F
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F170F#FFFFFF#000000##FFFFFF
##3F170F1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f170f;
/* rgb */ color: rgb(63, 23, 15);
/* oklch */ color: oklch(26.5% 0.065 33.0);
Tailwind
colors: {
  custom: {
    50: '#78554e',
    500: '#3f170f',
    950: '#000000',
  },
}
SCSS
$custom: #3f170f;
$custom-light: #78554e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f170f",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 10,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26451,
    "c": 0.06484,
    "h": 33
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#3F170F
secondary
#306D79
accent
#CAE543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3F170F

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

Preview Lab → · Contrast checker → · Palette generator →

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