#3F161C#3F161C

#3F161C is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.6% C 0.064 H 13.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#3F161C
RGBrgb(63, 22, 28)
HSLhsl(351, 48%, 17%)
HSVhsv(351, 65%, 25%)
CMYKcmyk(0%, 65.1%, 55.6%, 75.3%)
CIE-LABlab(13.91, 20.68, 5.92)
CIE-LCHlch(13.91, 21.51, 15.97°)
OKLaboklab(26.59% 0.0625 0.0151)
OKLCHoklch(26.59% 0.064 13.6)
XYZxyz(2.5466, 1.7147, 1.2952)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F161C #163F39
analogous
#3F1631 #3F161C #3F2516
triadic
#3F161C #1C3F16 #161C3F
tetradic
#3F161C #313F16 #163F39 #25163F
square
#3F161C #313F16 #163F39 #25163F
split-complementary
#3F161C #163F25 #16313F
monochromatic
#17080A #17080A #3F161C #6C2630 #9A3644

Accessibility & contrast

On white

15.64
#3F161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F161C
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F161C#FFFFFF#000000##FFFFFF
##3F161C1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1C
Deuteranopia (green-blind)
#29271B
Tritanopia (blue-blind)
#451018
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f161c;
/* rgb */ color: rgb(63, 22, 28);
/* oklch */ color: oklch(26.6% 0.064 13.6);
Tailwind
colors: {
  custom: {
    50: '#775557',
    500: '#3f161c',
    950: '#000000',
  },
}
SCSS
$custom: #3f161c;
$custom-light: #775557;
$custom-dark: #000000;
JSON
{
  "hex": "#3f161c",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 351.22,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2659,
    "c": 0.06427,
    "h": 13.6
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#3F161C
secondary
#3B766E
accent
#D8C450
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3F161C

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

Preview Lab → · Contrast checker → · Palette generator →

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