#342B2E#342B2E

#342B2E is a dark, near-neutral pink. Relative luminance 0.027; OKLCH L 30.0% C 0.014 H 355.9°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#342B2E
RGBrgb(52, 43, 46)
HSLhsl(340, 9%, 19%)
HSVhsv(340, 17%, 20%)
CMYKcmyk(0%, 17.3%, 11.5%, 79.6%)
CIE-LABlab(18.61, 4.76, -0.41)
CIE-LCHlch(18.61, 4.78, 355.11°)
OKLaboklab(30.01% 0.0141 -0.001)
OKLCHoklch(30.01% 0.014 355.9)
XYZxyz(2.7732, 2.6551, 2.9506)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B2E #2B3431
analogous
#342B32 #342B2E #342C2B
triadic
#342B2E #2E342B #2B2E34
tetradic
#342B2E #32342B #2B3431 #2C2B34
square
#342B2E #32342B #2B3431 #2C2B34
split-complementary
#342B2E #2B342C #2B3234
monochromatic
#110E0F #120F10 #342B2E #55474C #776269

Accessibility & contrast

On white

13.72
#342B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342B2E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B2E#FFFFFF#000000##FFFFFF
##342B2E1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2E
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#362B2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #342b2e;
/* rgb */ color: rgb(52, 43, 46);
/* oklch */ color: oklch(30.0% 0.014 355.9);
Tailwind
colors: {
  custom: {
    50: '#6b6466',
    500: '#342b2e',
    950: '#000000',
  },
}
SCSS
$custom: #342b2e;
$custom-light: #6b6466;
$custom-dark: #000000;
JSON
{
  "hex": "#342b2e",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 340,
    "s": 9.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.01416,
    "h": 355.9
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#342B2E
secondary
#57645F
accent
#B29E75
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #342B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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