#34181C#34181C

#34181C is a dark, muted red. Relative luminance 0.015; OKLCH L 25.0% C 0.045 H 11.8°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#34181C
RGBrgb(52, 24, 28)
HSLhsl(351, 37%, 15%)
HSVhsv(351, 54%, 20%)
CMYKcmyk(0%, 53.8%, 46.2%, 79.6%)
CIE-LABlab(12.40, 14.53, 3.50)
CIE-LCHlch(12.40, 14.94, 13.56°)
OKLaboklab(25.04% 0.044 0.0092)
OKLCHoklch(25.04% 0.045 11.8)
XYZxyz(1.9525, 1.4674, 1.2788)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34181C #183430
analogous
#34182A #34181C #342218
triadic
#34181C #1C3418 #181C34
tetradic
#34181C #2A3418 #183430 #221834
square
#34181C #2A3418 #183430 #221834
split-complementary
#34181C #183422 #182A34
monochromatic
#150A0B #150A0B #34181C #5E2B33 #883F49

Accessibility & contrast

On white

16.24
#34181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#34181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34181C
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34181C#FFFFFF#000000##FFFFFF
##34181C1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1C
Deuteranopia (green-blind)
#24221B
Tritanopia (blue-blind)
#391519
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34181c;
/* rgb */ color: rgb(52, 24, 28);
/* oklch */ color: oklch(25.0% 0.045 11.8);
Tailwind
colors: {
  custom: {
    50: '#6d5557',
    500: '#34181c',
    950: '#000000',
  },
}
SCSS
$custom: #34181c;
$custom-light: #6d5557;
$custom-dark: #000000;
JSON
{
  "hex": "#34181c",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 351.429,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25043,
    "c": 0.04497,
    "h": 11.8
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#34181C
secondary
#3E6A63
accent
#CDBD5B
background
#F6F5F5
surface
#ECE8E9
border
#C7C4C5
text
#070303
muted
#7A7878

Preview Lab

Preview with #34181C

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

Preview Lab → · Contrast checker → · Palette generator →

#34181C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva