#3E171D#3E171D

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

Color values

HEX#3E171D
RGBrgb(62, 23, 29)
HSLhsl(351, 46%, 17%)
HSVhsv(351, 63%, 24%)
CMYKcmyk(0%, 62.9%, 53.2%, 75.7%)
CIE-LABlab(13.98, 19.78, 5.25)
CIE-LCHlch(13.98, 20.46, 14.86°)
OKLaboklab(26.61% 0.0598 0.0135)
OKLCHoklch(26.61% 0.061 12.7)
XYZxyz(2.5149, 1.7259, 1.3629)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E171D #173E38
analogous
#3E1731 #3E171D #3E2517
triadic
#3E171D #1D3E17 #171D3E
tetradic
#3E171D #313E17 #173E38 #25173E
square
#3E171D #313E17 #173E38 #25173E
split-complementary
#3E171D #173E25 #17313E
monochromatic
#16080A #16080A #3E171D #6B2832 #973847

Accessibility & contrast

On white

15.61
#3E171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E171D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E171D#FFFFFF#000000##FFFFFF
##3E171D1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1D
Deuteranopia (green-blind)
#29271C
Tritanopia (blue-blind)
#441219
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e171d;
/* rgb */ color: rgb(62, 23, 29);
/* oklch */ color: oklch(26.6% 0.061 12.7);
Tailwind
colors: {
  custom: {
    50: '#765558',
    500: '#3e171d',
    950: '#000000',
  },
}
SCSS
$custom: #3e171d;
$custom-light: #765558;
$custom-dark: #000000;
JSON
{
  "hex": "#3e171d",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 350.769,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26611,
    "c": 0.06134,
    "h": 12.7
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#3E171D
secondary
#3C756C
accent
#D6C152
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #3E171D

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

Preview Lab → · Contrast checker → · Palette generator →

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