#3D170F#3D170F

#3D170F is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.1% C 0.062 H 33.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#3D170F
RGBrgb(61, 23, 15)
HSLhsl(10, 61%, 15%)
HSVhsv(10, 75%, 24%)
CMYKcmyk(0%, 62.3%, 75.4%, 76.1%)
CIE-LABlab(13.47, 17.96, 13.98)
CIE-LCHlch(13.47, 22.76, 37.90°)
OKLaboklab(26.09% 0.0518 0.0342)
OKLCHoklch(26.09% 0.062 33.4)
XYZxyz(2.3173, 1.6397, 0.6463)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D170F #0F353D
analogous
#3D0F1E #3D170F #3D2E0F
triadic
#3D170F #0F3D17 #170F3D
tetradic
#3D170F #1E3D0F #0F353D #2E0F3D
square
#3D170F #1E3D0F #0F353D #2E0F3D
split-complementary
#3D170F #0F3D2E #0F1E3D
monochromatic
#190906 #190906 #3D170F #6E2A1B #9F3C27

Accessibility & contrast

On white

15.82
#3D170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D170F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D170F#FFFFFF#000000##FFFFFF
##3D170F1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0E
Deuteranopia (green-blind)
#2A260E
Tritanopia (blue-blind)
#441015
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d170f;
/* rgb */ color: rgb(61, 23, 15);
/* oklch */ color: oklch(26.1% 0.062 33.4);
Tailwind
colors: {
  custom: {
    50: '#76554e',
    500: '#3d170f',
    950: '#000000',
  },
}
SCSS
$custom: #3d170f;
$custom-light: #76554e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d170f",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 10.435,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26086,
    "c": 0.06205,
    "h": 33.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#3D170F
secondary
#306B77
accent
#C8E444
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3D170F

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

Preview Lab → · Contrast checker → · Palette generator →

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