#3F151B#3F151B

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

Color values

HEX#3F151B
RGBrgb(63, 21, 27)
HSLhsl(351, 50%, 16%)
HSVhsv(351, 67%, 25%)
CMYKcmyk(0%, 66.7%, 57.1%, 75.3%)
CIE-LABlab(13.67, 21.15, 6.31)
CIE-LCHlch(13.67, 22.07, 16.61°)
OKLaboklab(26.4% 0.0638 0.016)
OKLCHoklch(26.4% 0.066 14.1)
XYZxyz(2.5161, 1.6725, 1.2270)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F151B #153F39
analogous
#3F1530 #3F151B #3F2415
triadic
#3F151B #1B3F15 #151B3F
tetradic
#3F151B #303F15 #153F39 #24153F
square
#3F151B #303F15 #153F39 #24153F
split-complementary
#3F151B #153F24 #15303F
monochromatic
#17080A #17080A #3F151B #6D242F #9B3442

Accessibility & contrast

On white

15.74
#3F151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F151B
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F151B#FFFFFF#000000##FFFFFF
##3F151B1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1B
Deuteranopia (green-blind)
#29261A
Tritanopia (blue-blind)
#450F17
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f151b;
/* rgb */ color: rgb(63, 21, 27);
/* oklch */ color: oklch(26.4% 0.066 14.1);
Tailwind
colors: {
  custom: {
    50: '#775457',
    500: '#3f151b',
    950: '#000000',
  },
}
SCSS
$custom: #3f151b;
$custom-light: #775457;
$custom-dark: #000000;
JSON
{
  "hex": "#3f151b",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 351.429,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26395,
    "c": 0.0658,
    "h": 14.1
  },
  "luminance": 0.01672
}

Semantic roles & 50–950 ramp

primary
#3F151B
secondary
#39776E
accent
#DAC64E
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3F151B

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

Preview Lab → · Contrast checker → · Palette generator →

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