#342D2D#342D2D

#342D2D is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.5% C 0.010 H 17.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#342D2D
RGBrgb(52, 45, 45)
HSLhsl(0, 7%, 19%)
HSVhsv(0, 13%, 20%)
CMYKcmyk(0%, 13.5%, 13.5%, 79.6%)
CIE-LABlab(19.21, 3.17, 1.16)
CIE-LCHlch(19.21, 3.38, 20.15°)
OKLaboklab(30.47% 0.0097 0.0031)
OKLCHoklch(30.47% 0.01 17.7)
XYZxyz(2.8282, 2.7964, 2.8729)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D2D #2D3434
analogous
#342D31 #342D2D #34312D
triadic
#342D2D #2D342D #2D2D34
tetradic
#342D2D #31342D #2D3434 #312D34
square
#342D2D #31342D #2D3434 #312D34
split-complementary
#342D2D #2D3431 #2D3134
monochromatic
#100E0E #131111 #342D2D #554949 #766666

Accessibility & contrast

On white

13.47
#342D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#342D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D2D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D2D#FFFFFF#000000##FFFFFF
##342D2D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#362C2D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342d2d;
/* rgb */ color: rgb(52, 45, 45);
/* oklch */ color: oklch(30.5% 0.010 17.7);
Tailwind
colors: {
  custom: {
    50: '#6b6565',
    500: '#342d2d',
    950: '#000000',
  },
}
SCSS
$custom: #342d2d;
$custom-light: #6b6565;
$custom-dark: #000000;
JSON
{
  "hex": "#342d2d",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 7.216,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30473,
    "c": 0.01022,
    "h": 17.7
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#342D2D
secondary
#5A6363
accent
#B0B078
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060505
muted
#7A7A7A

Preview Lab

Preview with #342D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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