#34170F#34170F

#34170F is a very dark, muted red. Relative luminance 0.014; OKLCH L 24.5% C 0.049 H 36.3°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#34170F
RGBrgb(52, 23, 15)
HSLhsl(13, 55%, 13%)
HSVhsv(13, 71%, 20%)
CMYKcmyk(0%, 55.8%, 71.2%, 79.6%)
CIE-LABlab(11.81, 13.64, 11.45)
CIE-LCHlch(11.81, 17.81, 40.03°)
OKLaboklab(24.49% 0.0396 0.0291)
OKLCHoklch(24.49% 0.049 36.3)
XYZxyz(1.8089, 1.3775, 0.6225)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34170F #0F2C34
analogous
#340F19 #34170F #34290F
triadic
#34170F #0F3417 #170F34
tetradic
#34170F #19340F #0F2C34 #290F34
square
#34170F #19340F #0F2C34 #290F34
split-complementary
#34170F #0F3429 #0F1934
monochromatic
#180B07 #180B07 #34170F #632C1D #93412A

Accessibility & contrast

On white

16.47
#34170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#34170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34170F
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34170F#FFFFFF#000000##FFFFFF
##34170F1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1B0E
Deuteranopia (green-blind)
#25220F
Tritanopia (blue-blind)
#391215
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #34170f;
/* rgb */ color: rgb(52, 23, 15);
/* oklch */ color: oklch(24.5% 0.049 36.3);
Tailwind
colors: {
  custom: {
    50: '#6e544e',
    500: '#34170f',
    950: '#000000',
  },
}
SCSS
$custom: #34170f;
$custom-light: #6e544e;
$custom-dark: #000000;
JSON
{
  "hex": "#34170f",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 12.973,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24486,
    "c": 0.04912,
    "h": 36.3
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#34170F
secondary
#31616E
accent
#BEDF49
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070301
muted
#7A7877

Preview Lab

Preview with #34170F

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

Preview Lab → · Contrast checker → · Palette generator →

#34170F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva