#3A170D#3A170D

#3A170D is a dark, muted red. Relative luminance 0.015; OKLCH L 25.5% C 0.059 H 36.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#3A170D
RGBrgb(58, 23, 13)
HSLhsl(13, 63%, 14%)
HSVhsv(13, 78%, 23%)
CMYKcmyk(0%, 60.3%, 77.6%, 77.3%)
CIE-LABlab(12.87, 16.40, 14.09)
CIE-LCHlch(12.87, 21.62, 40.67°)
OKLaboklab(25.51% 0.0469 0.0351)
OKLCHoklch(25.51% 0.059 36.8)
XYZxyz(2.1242, 1.5416, 0.5664)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A170D #0D303A
analogous
#3A0D1A #3A170D #3A2E0D
triadic
#3A170D #0D3A17 #170D3A
tetradic
#3A170D #1A3A0D #0D303A #2E0D3A
square
#3A170D #1A3A0D #0D303A #2E0D3A
split-complementary
#3A170D #0D3A2E #0D1A3A
monochromatic
#190A06 #190A06 #3A170D #6C2B18 #9E3F23

Accessibility & contrast

On white

16.05
#3A170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A170D
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A170D#FFFFFF#000000##FFFFFF
##3A170D1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D0C
Deuteranopia (green-blind)
#29240C
Tritanopia (blue-blind)
#401015
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a170d;
/* rgb */ color: rgb(58, 23, 13);
/* oklch */ color: oklch(25.5% 0.059 36.8);
Tailwind
colors: {
  custom: {
    50: '#73554c',
    500: '#3a170d',
    950: '#000000',
  },
}
SCSS
$custom: #3a170d;
$custom-light: #73554c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a170d",
  "rgb": {
    "r": 58,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 13.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25507,
    "c": 0.05858,
    "h": 36.8
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#3A170D
secondary
#2D6576
accent
#C2E641
background
#F7F4F4
surface
#EDE8E7
border
#C8C4C3
text
#080301
muted
#7B7877

Preview Lab

Preview with #3A170D

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

Preview Lab → · Contrast checker → · Palette generator →

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