#3F161F#3F161F

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

Color values

HEX#3F161F
RGBrgb(63, 22, 31)
HSLhsl(347, 48%, 17%)
HSVhsv(347, 65%, 25%)
CMYKcmyk(0%, 65.1%, 50.8%, 75.3%)
CIE-LABlab(14.00, 21.04, 3.85)
CIE-LCHlch(14.00, 21.39, 10.36°)
OKLaboklab(26.68% 0.0639 0.01)
OKLCHoklch(26.68% 0.065 8.9)
XYZxyz(2.5843, 1.7298, 1.4938)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F161F #163F36
analogous
#3F1634 #3F161F #3F2216
triadic
#3F161F #1F3F16 #161F3F
tetradic
#3F161F #343F16 #163F36 #22163F
square
#3F161F #343F16 #163F36 #22163F
split-complementary
#3F161F #163F22 #16343F
monochromatic
#17080B #17080B #3F161F #6C2635 #9A364C

Accessibility & contrast

On white

15.60
#3F161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F161F
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F161F#FFFFFF#000000##FFFFFF
##3F161F1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F1F
Deuteranopia (green-blind)
#29271E
Tritanopia (blue-blind)
#451119
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f161f;
/* rgb */ color: rgb(63, 22, 31);
/* oklch */ color: oklch(26.7% 0.065 8.9);
Tailwind
colors: {
  custom: {
    50: '#77555a',
    500: '#3f161f',
    950: '#000000',
  },
}
SCSS
$custom: #3f161f;
$custom-light: #77555a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f161f",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 346.829,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26684,
    "c": 0.06467,
    "h": 8.9
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#3F161F
secondary
#3B7669
accent
#D8BA50
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3F161F

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

Preview Lab → · Contrast checker → · Palette generator →

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