#3B170D#3B170D

#3B170D is a dark, muted red. Relative luminance 0.016; OKLCH L 25.7% C 0.060 H 36.4°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3B170D
RGBrgb(59, 23, 13)
HSLhsl(13, 64%, 14%)
HSVhsv(13, 78%, 23%)
CMYKcmyk(0%, 61%, 78%, 76.9%)
CIE-LABlab(13.06, 16.87, 14.37)
CIE-LCHlch(13.06, 22.17, 40.42°)
OKLaboklab(25.69% 0.0483 0.0356)
OKLCHoklch(25.69% 0.06 36.4)
XYZxyz(2.1829, 1.5719, 0.5692)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B170D #0D313B
analogous
#3B0D1A #3B170D #3B2E0D
triadic
#3B170D #0D3B17 #170D3B
tetradic
#3B170D #1A3B0D #0D313B #2E0D3B
square
#3B170D #1A3B0D #0D313B #2E0D3B
split-complementary
#3B170D #0D3B2E #0D1A3B
monochromatic
#190A06 #190A06 #3B170D #6D2B18 #9F3E23

Accessibility & contrast

On white

15.98
#3B170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3B170D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B170D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B170D#FFFFFF#000000##FFFFFF
##3B170D1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0C
Deuteranopia (green-blind)
#29250C
Tritanopia (blue-blind)
#411015
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b170d;
/* rgb */ color: rgb(59, 23, 13);
/* oklch */ color: oklch(25.7% 0.060 36.4);
Tailwind
colors: {
  custom: {
    50: '#74554c',
    500: '#3b170d',
    950: '#000000',
  },
}
SCSS
$custom: #3b170d;
$custom-light: #74554c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b170d",
  "rgb": {
    "r": 59,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 13.043,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25687,
    "c": 0.05999,
    "h": 36.4
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#3B170D
secondary
#2D6777
accent
#C3E741
background
#F7F4F4
surface
#EDE8E7
border
#C8C4C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #3B170D

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

Preview Lab → · Contrast checker → · Palette generator →

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