#3E170B#3E170B

#3E170B is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.2% C 0.065 H 37.6°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#3E170B
RGBrgb(62, 23, 11)
HSLhsl(14, 70%, 14%)
HSVhsv(14, 82%, 24%)
CMYKcmyk(0%, 62.9%, 82.3%, 75.7%)
CIE-LABlab(13.60, 18.15, 16.11)
CIE-LCHlch(13.60, 24.27, 41.58°)
OKLaboklab(26.2% 0.0514 0.0396)
OKLCHoklch(26.2% 0.065 37.6)
XYZxyz(2.3536, 1.6614, 0.5133)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E170B #0B323E
analogous
#3E0B19 #3E170B #3E310B
triadic
#3E170B #0B3E17 #170B3E
tetradic
#3E170B #193E0B #0B323E #310B3E
square
#3E170B #193E0B #0B323E #310B3E
split-complementary
#3E170B #0B3E31 #0B193E
monochromatic
#1A0A05 #1A0A05 #3E170B #722A14 #A63E1D

Accessibility & contrast

On white

15.76
#3E170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E170B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E170B#FFFFFF#000000##FFFFFF
##3E170B1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D0A
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#450F14
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e170b;
/* rgb */ color: rgb(62, 23, 11);
/* oklch */ color: oklch(26.2% 0.065 37.6);
Tailwind
colors: {
  custom: {
    50: '#77554b',
    500: '#3e170b',
    950: '#000000',
  },
}
SCSS
$custom: #3e170b;
$custom-light: #77554b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e170b",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 14.118,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26202,
    "c": 0.06488,
    "h": 37.6
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#3E170B
secondary
#2A687B
accent
#C3ED3B
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3E170B

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

Preview Lab → · Contrast checker → · Palette generator →

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