#3E171A#3E171A

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

Color values

HEX#3E171A
RGBrgb(62, 23, 26)
HSLhsl(355, 46%, 17%)
HSVhsv(355, 63%, 24%)
CMYKcmyk(0%, 62.9%, 58.1%, 75.7%)
CIE-LABlab(13.90, 19.43, 7.32)
CIE-LCHlch(13.90, 20.77, 20.65°)
OKLaboklab(26.52% 0.0584 0.0184)
OKLCHoklch(26.52% 0.061 17.5)
XYZxyz(2.4796, 1.7118, 1.1769)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E171A #173E3B
analogous
#3E172E #3E171A #3E2817
triadic
#3E171A #1A3E17 #171A3E
tetradic
#3E171A #2E3E17 #173E3B #28173E
square
#3E171A #2E3E17 #173E3B #28173E
split-complementary
#3E171A #173E28 #172E3E
monochromatic
#160809 #160809 #3E171A #6B282D #97383F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E171A#FFFFFF#000000##FFFFFF
##3E171A1.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)
#201E1A
Deuteranopia (green-blind)
#2A2619
Tritanopia (blue-blind)
#441118
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e171a;
/* rgb */ color: rgb(62, 23, 26);
/* oklch */ color: oklch(26.5% 0.061 17.5);
Tailwind
colors: {
  custom: {
    50: '#765556',
    500: '#3e171a',
    950: '#000000',
  },
}
SCSS
$custom: #3e171a;
$custom-light: #765556;
$custom-dark: #000000;
JSON
{
  "hex": "#3e171a",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 355.385,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26522,
    "c": 0.06123,
    "h": 17.5
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#3E171A
secondary
#3C7570
accent
#D6CB52
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3E171A

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

Preview Lab → · Contrast checker → · Palette generator →

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