#3F171A#3F171A

#3F171A is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.7% C 0.063 H 17.8°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#3F171A
RGBrgb(63, 23, 26)
HSLhsl(356, 47%, 17%)
HSVhsv(356, 63%, 25%)
CMYKcmyk(0%, 63.5%, 58.7%, 75.3%)
CIE-LABlab(14.08, 19.87, 7.61)
CIE-LCHlch(14.08, 21.28, 20.96°)
OKLaboklab(26.7% 0.0597 0.0191)
OKLCHoklch(26.7% 0.063 17.8)
XYZxyz(2.5429, 1.7444, 1.1799)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F171A #173F3C
analogous
#3F172E #3F171A #3F2817
triadic
#3F171A #1A3F17 #171A3F
tetradic
#3F171A #2E3F17 #173F3C #28173F
square
#3F171A #2E3F17 #173F3C #28173F
split-complementary
#3F171A #173F28 #172E3F
monochromatic
#160809 #160809 #3F171A #6C272D #99383F

Accessibility & contrast

On white

15.57
#3F171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F171A
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F171A#FFFFFF#000000##FFFFFF
##3F171A1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1A
Deuteranopia (green-blind)
#2A2719
Tritanopia (blue-blind)
#451118
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f171a;
/* rgb */ color: rgb(63, 23, 26);
/* oklch */ color: oklch(26.7% 0.063 17.8);
Tailwind
colors: {
  custom: {
    50: '#775656',
    500: '#3f171a',
    950: '#000000',
  },
}
SCSS
$custom: #3f171a;
$custom-light: #775656;
$custom-dark: #000000;
JSON
{
  "hex": "#3f171a",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 355.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26702,
    "c": 0.06265,
    "h": 17.8
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#3F171A
secondary
#3C7672
accent
#D6CC52
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3F171A

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

Preview Lab → · Contrast checker → · Palette generator →

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