#3F151F#3F151F

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

Color values

HEX#3F151F
RGBrgb(63, 21, 31)
HSLhsl(346, 50%, 16%)
HSVhsv(346, 67%, 25%)
CMYKcmyk(0%, 66.7%, 50.8%, 75.3%)
CIE-LABlab(13.78, 21.62, 3.54)
CIE-LCHlch(13.78, 21.90, 9.29°)
OKLaboklab(26.52% 0.0657 0.0093)
OKLCHoklch(26.52% 0.066 8)
XYZxyz(2.5656, 1.6923, 1.4876)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F151F #153F35
analogous
#3F1534 #3F151F #3F2015
triadic
#3F151F #1F3F15 #151F3F
tetradic
#3F151F #343F15 #153F35 #20153F
square
#3F151F #343F15 #153F35 #20153F
split-complementary
#3F151F #153F20 #15343F
monochromatic
#17080B #17080B #3F151F #6D2436 #9B344C

Accessibility & contrast

On white

15.69
#3F151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F151F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F151F#FFFFFF#000000##FFFFFF
##3F151F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1F
Deuteranopia (green-blind)
#28261E
Tritanopia (blue-blind)
#451019
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f151f;
/* rgb */ color: rgb(63, 21, 31);
/* oklch */ color: oklch(26.5% 0.066 8.0);
Tailwind
colors: {
  custom: {
    50: '#77545a',
    500: '#3f151f',
    950: '#000000',
  },
}
SCSS
$custom: #3f151f;
$custom-light: #77545a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f151f",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 345.714,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2652,
    "c": 0.06635,
    "h": 8
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#3F151F
secondary
#397768
accent
#DAB84E
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3F151F

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

Preview Lab → · Contrast checker → · Palette generator →

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