#3E171B#3E171B

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

Color values

HEX#3E171B
RGBrgb(62, 23, 27)
HSLhsl(354, 46%, 17%)
HSVhsv(354, 63%, 24%)
CMYKcmyk(0%, 62.9%, 56.5%, 75.7%)
CIE-LABlab(13.92, 19.55, 6.63)
CIE-LCHlch(13.92, 20.64, 18.74°)
OKLaboklab(26.55% 0.0589 0.0168)
OKLCHoklch(26.55% 0.061 15.9)
XYZxyz(2.4910, 1.7163, 1.2368)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E171B #173E3A
analogous
#3E172F #3E171B #3E2717
triadic
#3E171B #1B3E17 #171B3E
tetradic
#3E171B #2F3E17 #173E3A #27173E
square
#3E171B #2F3E17 #173E3A #27173E
split-complementary
#3E171B #173E27 #172F3E
monochromatic
#16080A #16080A #3E171B #6B282E #973842

Accessibility & contrast

On white

15.63
#3E171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E171B
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E171B#FFFFFF#000000##FFFFFF
##3E171B1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1B
Deuteranopia (green-blind)
#29261A
Tritanopia (blue-blind)
#441119
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e171b;
/* rgb */ color: rgb(62, 23, 27);
/* oklch */ color: oklch(26.6% 0.061 15.9);
Tailwind
colors: {
  custom: {
    50: '#765557',
    500: '#3e171b',
    950: '#000000',
  },
}
SCSS
$custom: #3e171b;
$custom-light: #765557;
$custom-dark: #000000;
JSON
{
  "hex": "#3e171b",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 353.846,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26551,
    "c": 0.06122,
    "h": 15.9
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#3E171B
secondary
#3C756F
accent
#D6C852
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3E171B

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

Preview Lab → · Contrast checker → · Palette generator →

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