#342A2D#342A2D

#342A2D is a dark, near-neutral pink. Relative luminance 0.026; OKLCH L 29.7% C 0.016 H 358.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#342A2D
RGBrgb(52, 42, 45)
HSLhsl(342, 11%, 18%)
HSVhsv(342, 19%, 20%)
CMYKcmyk(0%, 19.2%, 13.5%, 79.6%)
CIE-LABlab(18.26, 5.24, -0.22)
CIE-LCHlch(18.26, 5.24, 357.57°)
OKLaboklab(29.73% 0.0156 -0.0005)
OKLCHoklch(29.73% 0.016 358.1)
XYZxyz(2.7178, 2.5755, 2.8361)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342A2D #2A3431
analogous
#342A32 #342A2D #342C2A
triadic
#342A2D #2D342A #2A2D34
tetradic
#342A2D #32342A #2A3431 #2C2A34
square
#342A2D #32342A #2A3431 #2C2A34
split-complementary
#342A2D #2A342C #2A3234
monochromatic
#110E0F #120F10 #342A2D #56454A #786168

Accessibility & contrast

On white

13.86
#342A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#342A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342A2D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342A2D#FFFFFF#000000##FFFFFF
##342A2D1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342a2d;
/* rgb */ color: rgb(52, 42, 45);
/* oklch */ color: oklch(29.7% 0.016 358.1);
Tailwind
colors: {
  custom: {
    50: '#6b6365',
    500: '#342a2d',
    950: '#000000',
  },
}
SCSS
$custom: #342a2d;
$custom-light: #6b6365;
$custom-dark: #000000;
JSON
{
  "hex": "#342a2d",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 342,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29731,
    "c": 0.0156,
    "h": 358.1
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#342A2D
secondary
#566460
accent
#B4A174
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #342A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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