#342A2A#342A2A

#342A2A is a dark, near-neutral red. Relative luminance 0.026; OKLCH L 29.6% C 0.015 H 18.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#342A2A
RGBrgb(52, 42, 42)
HSLhsl(0, 11%, 18%)
HSVhsv(0, 19%, 20%)
CMYKcmyk(0%, 19.2%, 19.2%, 79.6%)
CIE-LABlab(18.16, 4.61, 1.73)
CIE-LCHlch(18.16, 4.92, 20.52°)
OKLaboklab(29.62% 0.0141 0.0046)
OKLCHoklch(29.62% 0.015 18)
XYZxyz(2.6620, 2.5532, 2.5426)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A2A #2A3434
analogous
#342A2F #342A2A #342F2A
triadic
#342A2A #2A342A #2A2A34
tetradic
#342A2A #2F342A #2A3434 #2F2A34
square
#342A2A #2F342A #2A3434 #2F2A34
split-complementary
#342A2A #2A342F #2A2F34
monochromatic
#110E0E #120F0F #342A2A #564545 #786161

Accessibility & contrast

On white

13.90
#342A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#342A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342A2A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A2A#FFFFFF#000000##FFFFFF
##342A2A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B2A
Deuteranopia (green-blind)
#2E2D2A
Tritanopia (blue-blind)
#36292A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342a2a;
/* rgb */ color: rgb(52, 42, 42);
/* oklch */ color: oklch(29.6% 0.015 18.0);
Tailwind
colors: {
  custom: {
    50: '#6b6363',
    500: '#342a2a',
    950: '#000000',
  },
}
SCSS
$custom: #342a2a;
$custom-light: #6b6363;
$custom-dark: #000000;
JSON
{
  "hex": "#342a2a",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29621,
    "c": 0.01486,
    "h": 18
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#342A2A
secondary
#566464
accent
#B4B474
background
#F6F5F5
surface
#EBEAEA
border
#C6C6C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #342A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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