#342B2B#342B2B

#342B2B is a dark, near-neutral red. Relative luminance 0.026; OKLCH L 29.9% C 0.013 H 17.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#342B2B
RGBrgb(52, 43, 43)
HSLhsl(0, 9%, 19%)
HSVhsv(0, 17%, 20%)
CMYKcmyk(0%, 17.3%, 17.3%, 79.6%)
CIE-LABlab(18.51, 4.13, 1.53)
CIE-LCHlch(18.51, 4.40, 20.39°)
OKLaboklab(29.9% 0.0127 0.0041)
OKLCHoklch(29.9% 0.013 17.9)
XYZxyz(2.7161, 2.6323, 2.6500)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B2B #2B3434
analogous
#342B2F #342B2B #342F2B
triadic
#342B2B #2B342B #2B2B34
tetradic
#342B2B #2F342B #2B3434 #2F2B34
square
#342B2B #2F342B #2B3434 #2F2B34
split-complementary
#342B2B #2B342F #2B2F34
monochromatic
#110E0E #120F0F #342B2B #554747 #776262

Accessibility & contrast

On white

13.76
#342B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#342B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B2B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B2B#FFFFFF#000000##FFFFFF
##342B2B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2B
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#362A2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342b2b;
/* rgb */ color: rgb(52, 43, 43);
/* oklch */ color: oklch(29.9% 0.013 17.9);
Tailwind
colors: {
  custom: {
    50: '#6b6464',
    500: '#342b2b',
    950: '#000000',
  },
}
SCSS
$custom: #342b2b;
$custom-light: #6b6464;
$custom-dark: #000000;
JSON
{
  "hex": "#342b2b",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 9.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29904,
    "c": 0.01329,
    "h": 17.9
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#342B2B
secondary
#576464
accent
#B2B275
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #342B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#342B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva